|
29 | 29 | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
30 | 30 | * Portions Copyright (c) 1994, Regents of the University of California
|
31 | 31 | *
|
32 |
| - *$Id: pqcomm.c,v 1.110 2000/11/1315:18:09 momjian Exp $ |
| 32 | + *$Id: pqcomm.c,v 1.111 2000/11/1321:31:46 momjian Exp $ |
33 | 33 | *
|
34 | 34 | *-------------------------------------------------------------------------
|
35 | 35 | */
|
@@ -255,8 +255,8 @@ StreamServerPort(int family, char *hostName, unsigned short portName,
|
255 | 255 | if ((hp==NULL)|| (hp->h_addrtype!=AF_INET))
|
256 | 256 | {
|
257 | 257 | snprintf(PQerrormsg,PQERRORMSG_LENGTH,
|
258 |
| -"FATAL: StreamServerPort: gethostbyname(%s) failed: %s\n", |
259 |
| -hostName,hstrerror(h_errno)); |
| 258 | +"FATAL: StreamServerPort: gethostbyname(%s) failed\n", |
| 259 | +hostName); |
260 | 260 | fputs(PQerrormsg,stderr);
|
261 | 261 | pqdebug("%s",PQerrormsg);
|
262 | 262 | returnSTATUS_ERROR;
|
|