projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e90b08
)
Fix compile breakage from SIGPIPE fix for threading.
author
Bruce Momjian
<bruce@momjian.us>
Fri, 3 Dec 2004 01:58:43 +0000
(
01:58
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 3 Dec 2004 01:58:43 +0000
(
01:58
+0000)
src/interfaces/libpq/fe-secure.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-secure.c
b/src/interfaces/libpq/fe-secure.c
index 629b68d6de7c326d8884ff0149f465911a71ef42..9fdf07eb8de0d50a61fafae05919652d1a919949 100644
(file)
--- a/
src/interfaces/libpq/fe-secure.c
+++ b/
src/interfaces/libpq/fe-secure.c
@@
-429,8
+429,10
@@
pqsecure_write(PGconn *conn, const void *ptr, size_t len)
if (n == -1)
{
+#ifdef ENABLE_THREAD_SAFETY
if (SOCK_ERRNO == EPIPE)
got_epipe = true;
+#endif
printfPQExpBuffer(&conn->errorMessage,
libpq_gettext("SSL SYSCALL error: %s\n"),
SOCK_STRERROR(SOCK_ERRNO, sebuf, sizeof(sebuf)));