From 191d76b569c84b5664e47949727bf88ae0c978a9 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Thu, 29 Oct 2020 21:37:42 +0000 Subject: [PATCH] Fix build on platforms lacking TIOCOUTQ ioctl --- src/src/transports/smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 9e337e93f..e8a9afbd0 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -4134,7 +4134,7 @@ if (!sx->ok) *message_defer = TRUE; } - +#ifdef TIOCOUTQ DEBUG(D_transport) if (sx->cctx.sock >= 0) { int n; @@ -4142,7 +4142,7 @@ if (!sx->ok) 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