|
9 | 9 | * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group |
10 | 10 | * Portions Copyright (c) 1994, Regents of the University of California |
11 | 11 | * |
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 $ |
13 | 13 | * |
14 | 14 | *------------------------------------------------------------------------- |
15 | 15 | */ |
@@ -76,9 +76,9 @@ typedef struct |
76 | 76 |
|
77 | 77 | /* Configure the UNIX socket location for the well known port. */ |
78 | 78 |
|
79 | | -#defineUNIXSOCK_PATH(path,port,defpath) \ |
| 79 | +#defineUNIXSOCK_PATH(path,port,sockdir) \ |
80 | 80 | snprintf(path, sizeof(path), "%s/.s.PGSQL.%d", \ |
81 | | -((defpath) && *(defpath) != '\0') ? (defpath) : \ |
| 81 | +((sockdir) && *(sockdir) != '\0') ? (sockdir) : \ |
82 | 82 | DEFAULT_PGSOCKET_DIR, \ |
83 | 83 | (port)) |
84 | 84 |
|
|