From 61eac6b579e27f3959c7048a17ac5a36b0c32002 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Fri, 30 Oct 2020 12:43:39 +0000 Subject: [PATCH] Fix build on platforms lacking TIOCOUTQ ioctl --- src/src/transports/smtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2