Skip to content

Commit 853c8c7

Browse files
committed
Factor out system call names from error messages
One more that ought to have been part of 82c3cd9.
1 parent 205f466 commit 853c8c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,8 @@ setKeepalivesWin32(PGconn *conn)
19881988
!= 0)
19891989
{
19901990
appendPQExpBuffer(&conn->errorMessage,
1991-
libpq_gettext("WSAIoctl(SIO_KEEPALIVE_VALS) failed: %d\n"),
1991+
libpq_gettext("%s(%s) failed: error code %d\n"),
1992+
"WSAIoctl", "SIO_KEEPALIVE_VALS",
19921993
WSAGetLastError());
19931994
return 0;
19941995
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy