diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2017-03-08 12:42:58 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2017-03-08 12:42:58 +0000 |
commit | fa18eebc52b4a66752320ecc5152cfac6c2dcc64 (patch) | |
tree | 653acb243f2fb81eee3cec065e344fdfad8fcf6d /src | |
parent | 642422e8ec9d1f434b7b4fd33b503c17b806b8aa (diff) |
Some platforms (Solaris) do not have AF_LOCAL; use AF_UNIX
Diffstat (limited to 'src')
-rw-r--r-- | src/src/transports/smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 41d0dc1ea..52e04b8a5 100644 --- 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; - 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", |