diff options
Diffstat (limited to 'inet/ruserpass.c')
-rw-r--r-- | inet/ruserpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/ruserpass.c b/inet/ruserpass.c index 75e2a06..903fc96 100644 --- a/inet/ruserpass.c +++ b/inet/ruserpass.c @@ -157,7 +157,7 @@ next: case LOGIN: if (token()) { - if (*aname == 0) { + if (*aname == NULL) { char *newp; newp = malloc((unsigned) strlen(tokval) + 1); if (newp == NULL) @@ -180,7 +180,7 @@ next: warnx(_("Remove 'password' line or make file unreadable by others.")); goto bad; } - if (token() && *apass == 0) { + if (token() && *apass == NULL) { char *newp; newp = malloc((unsigned) strlen(tokval) + 1); if (newp == NULL) |