From: Marc G. Fournier Date: Thu, 20 Mar 1997 18:31:49 +0000 (+0000) Subject: change strtok(0.. to strtok(NULL.. X-Git-Tag: REL6_1~446 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69c2c66196b199619f388d27b4b3e53feeb1f6a6;p=postgresql change strtok(0.. to strtok(NULL.. From: Keith Parks --- diff --git a/src/backend/libpq/password.c b/src/backend/libpq/password.c index c7bcb04024..65f8308010 100644 --- a/src/backend/libpq/password.c +++ b/src/backend/libpq/password.c @@ -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;