Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69c2c66

Browse files
committed
change strtok(0.. to strtok(NULL..
From: Keith Parks <emkxp01@mtcc.demon.co.uk>
1 parentbf872f0 commit69c2c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/libpq/password.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ verify_password(char *user, char *password, Port *port,
7171
p=pw_file_line;
7272

7373
test_user=strtok(p,":");
74-
test_pw=strtok(0,":");
74+
test_pw=strtok(NULL,":");
7575
if(!test_user|| !test_pw||
7676
test_user[0]=='\0'||test_pw[0]=='\0') {
7777
continue;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp