summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-10-29 21:37:42 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2020-10-29 21:37:42 +0000
commit191d76b569c84b5664e47949727bf88ae0c978a9 (patch)
treefa773d9594b3d2c744eeb46255b6088757de6cf8
parent811622b672d4a4cf3d71fbd66810a66adf76826e (diff)
Fix build on platforms lacking TIOCOUTQ ioctl
-rw-r--r--src/src/transports/smtp.c4
1 files 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