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

Commitda78e3e

Browse files
committed
index() -> strchr().
1 parenta0f29e3 commitda78e3e

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.103 2003/06/12 07:36:51 momjian Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.104 2003/06/15 16:21:39 tgl Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -629,7 +629,7 @@ parse_hba(List *line, hbaPort *port, bool *found_p, bool *error_p)
629629
token=lfirst(line);
630630

631631
/* Check if it has a CIDR suffix and if so isolate it */
632-
cidr_slash=index(token,'/');
632+
cidr_slash=strchr(token,'/');
633633
if (cidr_slash)
634634
{
635635
*cidr_slash='\0';

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp