Commit 853c8c75 authored by Peter Eisentraut's avatar Peter Eisentraut

Factor out system call names from error messages

One more that ought to have been part of
82c3cd97.
parent 205f4662
...@@ -1988,7 +1988,8 @@ setKeepalivesWin32(PGconn *conn) ...@@ -1988,7 +1988,8 @@ setKeepalivesWin32(PGconn *conn)
!= 0) != 0)
{ {
appendPQExpBuffer(&conn->errorMessage, appendPQExpBuffer(&conn->errorMessage,
libpq_gettext("WSAIoctl(SIO_KEEPALIVE_VALS) failed: %d\n"), libpq_gettext("%s(%s) failed: error code %d\n"),
"WSAIoctl", "SIO_KEEPALIVE_VALS",
WSAGetLastError()); WSAGetLastError());
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment