summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2017-10-10 21:38:42 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2017-10-10 21:38:42 +0100
commit8de0078cd20620e18cd32b5de9d21b94810cea31 (patch)
treeb751ef2358f9d62450efd761f8204e0c55dd937c /src
parentba936fb813cffe5208a0d410cb462ec234eea41b (diff)
Fix FreeBSD build (again)
Diffstat (limited to 'src')
-rw-r--r--src/src/ip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/src/ip.c b/src/src/ip.c
index 1a2206c9d..e85dcb23e 100644
--- a/src/src/ip.c
+++ b/src/src/ip.c
@@ -171,8 +171,7 @@ tfo_probe(void)
int sock, backlog = 5;
if ( (sock = socket(SOCK_STREAM, AF_INET, 0)) < 0
- && setsockopt(sock, IPPROTO_TCP, TCP_FASTOPEN,
- &connect_backlog, sizeof(smtp_connect_backlog))
+ && setsockopt(sock, IPPROTO_TCP, TCP_FASTOPEN, &backlog, sizeof(backlog))
)
tcp_fastopen_ok = TRUE;
close(sock);