change strtok(0.. to strtok(NULL..

From: Keith Parks <emkxp01@mtcc.demon.co.uk>
This commit is contained in:
Marc G. Fournier 1997-03-20 18:31:49 +00:00
parent bf872f0aff
commit 69c2c66196
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ verify_password(char *user, char *password, Port *port,
p = pw_file_line;
test_user = strtok(p, ":");
test_pw = strtok(0, ":");
test_pw = strtok(NULL, ":");
if(!test_user || !test_pw ||
test_user[0] == '\0' || test_pw[0] == '\0') {
continue;