diff options
author | Marc G. Fournier <scrappy@hub.org> | 1997-03-20 18:31:49 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1997-03-20 18:31:49 +0000 |
commit | 69c2c66196b199619f388d27b4b3e53feeb1f6a6 (patch) | |
tree | c37d1b92ed2fea11dcf22fd90335291efbb2553d /src | |
parent | bf872f0aff435cce475279d56f8f981f3044ba77 (diff) |
change strtok(0.. to strtok(NULL..
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/libpq/password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/libpq/password.c b/src/backend/libpq/password.c index c7bcb04024c..65f8308010d 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; |