X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/06e272a37fca29df8be58167a30818857a78e348..1e1d5443ae8072e23f83230ee3f1ece792dbf62f:/src/src/smtp_out.c diff --git a/src/src/smtp_out.c b/src/src/smtp_out.c index f02863a54..ef2c9fdeb 100644 --- a/src/src/smtp_out.c +++ b/src/src/smtp_out.c @@ -149,7 +149,6 @@ struct tcp_info tinfo; socklen_t len = sizeof(tinfo); if (getsockopt(sock, IPPROTO_TCP, TCP_INFO, &tinfo, &len) == 0) - { switch (tcp_out_fastopen) { /* This is a somewhat dubious detection method; totally undocumented so likely @@ -172,7 +171,7 @@ if (getsockopt(sock, IPPROTO_TCP, TCP_INFO, &tinfo, &len) == 0) } break; -#ifdef notdef /* This seems to always fire, meaning that we cannot tell +# ifdef notdef /* This seems to always fire, meaning that we cannot tell whether the server accepted data we sent. For now assume that it did. */ @@ -185,10 +184,10 @@ if (getsockopt(sock, IPPROTO_TCP, TCP_INFO, &tinfo, &len) == 0) tcp_out_fastopen = TFO_NOT_USED; } break; -#endif - } - } + default: break; /* compiler quietening */ +# endif + } # endif } #endif