git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some platforms (Solaris) do not have AF_LOCAL; use AF_UNIX
[exim.git]
/
src
/
src
/
transports
/
smtp.c
diff --git
a/src/src/transports/smtp.c
b/src/src/transports/smtp.c
index 41d0dc1eaebf16789ee7926ca8589de97df7ae96..52e04b8a57a032082679a7a5929796b2903439e5 100644
(file)
--- a/
src/src/transports/smtp.c
+++ b/
src/src/transports/smtp.c
@@
-3349,7
+3349,7
@@
if (sx.completed_addr && sx.ok && sx.send_quit)
/* Set up a pipe for proxying TLS for the new transport process */
smtp_peer_options |= PEER_OFFERED_TLS;
/* Set up a pipe for proxying TLS for the new transport process */
smtp_peer_options |= PEER_OFFERED_TLS;
- if (sx.ok = (socketpair(AF_
LOCAL
, SOCK_STREAM, 0, pfd) == 0))
+ if (sx.ok = (socketpair(AF_
UNIX
, SOCK_STREAM, 0, pfd) == 0))
socket_fd = pfd[1];
else
set_errno(sx.first_addr, errno, US"internal allocation problem",
socket_fd = pfd[1];
else
set_errno(sx.first_addr, errno, US"internal allocation problem",