X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fip.c;h=e85dcb23e9331a07ee82b9af46f53cbee5abf351;hb=9c29c48f8327fc20b3840ce2fb4dad4a6c8003b2;hp=d17c48216fe6c4af16660be6ff492d73249826ae;hpb=4aa2e44b8f8010fe0d3096d89c86f4b6238fc6ac;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/ip.c b/src/src/ip.c index d17c48216..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); @@ -261,7 +260,7 @@ if (fastopen_blob && tcp_fastopen_ok) /* seen for with-data, proper TFO opt, with-cookie case */ { DEBUG(D_transport|D_v) - debug_printf("non-TFO mode connection attempt to %s, %d data\n", + debug_printf("non-TFO mode connection attempt to %s, %lu data\n", address, (unsigned long)fastopen_blob->len); tcp_out_fastopen = fastopen_blob->len > 0 ? 2 : 1; }