From 4566e172eb2423bdcec68babde907cd06e8fc997 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 16 May 2011 00:01:08 +0200 Subject: simplify parsing of /etc/busybox.conf function old new delta parse_config_file 799 667 -132 Signed-off-by: Denys Vlasenko --- libpwdgrp/uidgid_get.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libpwdgrp') diff --git a/libpwdgrp/uidgid_get.c b/libpwdgrp/uidgid_get.c index 92290bfdb..8388be0da 100644 --- a/libpwdgrp/uidgid_get.c +++ b/libpwdgrp/uidgid_get.c @@ -71,7 +71,8 @@ int FAST_FUNC get_uidgid(struct bb_uidgid_t *u, const char *ug, int numeric_ok) } } gr = getgrnam(group); - if (!gr) return 0; + if (!gr) + return 0; u->gid = gr->gr_gid; } return 1; -- cgit v1.2.3