From: Jeremy Harris Date: Fri, 30 Oct 2020 12:43:39 +0000 (+0000) Subject: Fix build on platforms lacking TIOCOUTQ ioctl X-Git-Tag: exim-4.95-RC0~201 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/61eac6b579e27f3959c7048a17ac5a36b0c32002 Fix build on platforms lacking TIOCOUTQ ioctl --- diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index e8a9afbd0..c669bd210 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -4141,8 +4141,8 @@ if (!sx->ok) if (ioctl(sx->cctx.sock, TIOCOUTQ, &n) == 0) debug_printf("%d bytes remain in socket output buffer\n", n); } - } #endif + } /* Otherwise, we have an I/O error or a timeout other than after MAIL or ".", or some other transportation error. We defer all addresses and yield DEFER, except for the case of failed add_headers expansion, or a transport