Gitweb:
https://git.exim.org/exim.git/commitdiff/191d76b569c84b5664e47949727bf88ae0c978a9
Commit: 191d76b569c84b5664e47949727bf88ae0c978a9
Parent: 811622b672d4a4cf3d71fbd66810a66adf76826e
Author: Jeremy Harris <jgh146exb@???>
AuthorDate: Thu Oct 29 21:37:42 2020 +0000
Committer: Jeremy Harris <jgh146exb@???>
CommitDate: Thu Oct 29 21:37:42 2020 +0000
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 9e337e9..e8a9afb 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