]> granicus.if.org Git - shadow/commitdiff
Fix typo. Compil fix.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 10 Jun 2008 20:02:12 +0000 (20:02 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 10 Jun 2008 20:02:12 +0000 (20:02 +0000)
lib/sgetpwent.c

index f43d1f0ab10c47d70cd4daeb1ddb779675258fbf..421d6464643b61c1548a483b05ef07028cf823d8 100644 (file)
@@ -115,7 +115,7 @@ struct passwd *sgetpwent (const char *buf)
        }
        /* FIXME: (0 == pwent.pw_gid) does not look correct -- nekral */
        pwent.pw_gid = strtol (fields[3], &ep, 10);
-       if ((0 == pwent.pw_gid) && ('\0' != *ep))) {
+       if ((0 == pwent.pw_gid) && ('\0' != *ep)) {
                return NULL;
        }
        pwent.pw_gecos = fields[4];