aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-05-17 01:44:24 +0000
committerBruce Momjian <bruce@momjian.us>2006-05-17 01:44:24 +0000
commit815f58407cdd06c39fdbb052a33b61d3e605e7ae (patch)
tree649827432c6c7fd6a20dd102987820194ba1d236
parentfb4c180da094210f2fb2d9f263b17c6db925b631 (diff)
downloadpostgresql-815f58407cdd06c39fdbb052a33b61d3e605e7ae.tar.gz
postgresql-815f58407cdd06c39fdbb052a33b61d3e605e7ae.zip
Rename macro parameter, for clarity.
-rw-r--r--src/include/libpq/pqcomm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/libpq/pqcomm.h b/src/include/libpq/pqcomm.h
index 1f68a80a800..35c1d4bca72 100644
--- a/src/include/libpq/pqcomm.h
+++ b/src/include/libpq/pqcomm.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/libpq/pqcomm.h,v 1.99 2006/03/05 15:58:56 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/libpq/pqcomm.h,v 1.100 2006/05/17 01:44:24 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -76,9 +76,9 @@ typedef struct
/* Configure the UNIX socket location for the well known port. */
-#define UNIXSOCK_PATH(path,port,defpath) \
+#define UNIXSOCK_PATH(path, port, sockdir) \
snprintf(path, sizeof(path), "%s/.s.PGSQL.%d", \
- ((defpath) && *(defpath) != '\0') ? (defpath) : \
+ ((sockdir) && *(sockdir) != '\0') ? (sockdir) : \
DEFAULT_PGSOCKET_DIR, \
(port))