diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-16 02:01:08 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-16 02:01:08 +0400 |
commit | 4566e172eb2423bdcec68babde907cd06e8fc997 (patch) | |
tree | 697f14694d44908670baa221d20b311c4d7294e0 /libpwdgrp/uidgid_get.c | |
parent | e0238f852b7a492581414b5aecb8a438f2fc4c77 (diff) |
simplify parsing of /etc/busybox.conf
function old new delta
parse_config_file 799 667 -132
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libpwdgrp/uidgid_get.c')
-rw-r--r-- | libpwdgrp/uidgid_get.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |