projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf872f0
)
change strtok(0.. to strtok(NULL..
author
Marc G. Fournier
Thu, 20 Mar 1997 18:31:49 +0000
(18:31 +0000)
committer
Marc G. Fournier
Thu, 20 Mar 1997 18:31:49 +0000
(18:31 +0000)
From: Keith Parks
src/backend/libpq/password.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/libpq/password.c
b/src/backend/libpq/password.c
index c7bcb04024cec76626b2d22958c333ef52f85411..65f8308010ddcaf6e5f6c1733c71f1959465842a 100644
(file)
--- 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;