summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);