Commit 69c2c661 authored by Marc G. Fournier's avatar Marc G. Fournier

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

From: Keith Parks <emkxp01@mtcc.demon.co.uk>
parent bf872f0a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment