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

Commit3591108

Browse files
committed
A typo in src/backend/libpq/hba.c breaks local ident authentication
in the SO_PEERCRED case. elif is misspelled as elsif for the test.A patch is attached.Bruno Wolff III
1 parent2a44306 commit3591108

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/libpq/hba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.93 2003/01/06 03:18:26 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.94 2003/03/15 16:18:25 momjian Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -1248,7 +1248,7 @@ ident_unix(int sock, char *ident_user)
12481248

12491249
return true;
12501250

1251-
#elsif defined(SO_PEERCRED)
1251+
#elif defined(SO_PEERCRED)
12521252
/* Linux style: use getsockopt(SO_PEERCRED) */
12531253
structucredpeercred;
12541254
ACCEPT_TYPE_ARG3so_len=sizeof(peercred);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp