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

Commit815f584

Browse files
committed
Rename macro parameter, for clarity.
1 parentfb4c180 commit815f584

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/include/libpq/pqcomm.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
1010
* Portions Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $PostgreSQL: pgsql/src/include/libpq/pqcomm.h,v 1.99 2006/03/05 15:58:56 momjian Exp $
12+
* $PostgreSQL: pgsql/src/include/libpq/pqcomm.h,v 1.100 2006/05/17 01:44:24 momjian Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -76,9 +76,9 @@ typedef struct
7676

7777
/* Configure the UNIX socket location for the well known port. */
7878

79-
#defineUNIXSOCK_PATH(path,port,defpath) \
79+
#defineUNIXSOCK_PATH(path,port,sockdir) \
8080
snprintf(path, sizeof(path), "%s/.s.PGSQL.%d", \
81-
((defpath) && *(defpath) != '\0') ? (defpath) : \
81+
((sockdir) && *(sockdir) != '\0') ? (sockdir) : \
8282
DEFAULT_PGSOCKET_DIR, \
8383
(port))
8484

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp