Fix typo. Compil fix.
This commit is contained in:
parent
ef1a2a82dd
commit
b3c68f1692
@ -115,7 +115,7 @@ struct passwd *sgetpwent (const char *buf)
|
|||||||
}
|
}
|
||||||
/* FIXME: (0 == pwent.pw_gid) does not look correct -- nekral */
|
/* FIXME: (0 == pwent.pw_gid) does not look correct -- nekral */
|
||||||
pwent.pw_gid = strtol (fields[3], &ep, 10);
|
pwent.pw_gid = strtol (fields[3], &ep, 10);
|
||||||
if ((0 == pwent.pw_gid) && ('\0' != *ep))) {
|
if ((0 == pwent.pw_gid) && ('\0' != *ep)) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
pwent.pw_gecos = fields[4];
|
pwent.pw_gecos = fields[4];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user