From 8de0078cd20620e18cd32b5de9d21b94810cea31 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Tue, 10 Oct 2017 21:38:42 +0100 Subject: Fix FreeBSD build (again) --- src/src/ip.c | 3 +-- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3