[exim-cvs] Fix build on platforms lacking TIOCOUTQ ioctl

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Fix build on platforms lacking TIOCOUTQ ioctl
Gitweb: https://git.exim.org/exim.git/commitdiff/61eac6b579e27f3959c7048a17ac5a36b0c32002
Commit:     61eac6b579e27f3959c7048a17ac5a36b0c32002
Parent:     191d76b569c84b5664e47949727bf88ae0c978a9
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Fri Oct 30 12:43:39 2020 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Fri Oct 30 12:43:39 2020 +0000


    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 e8a9afb..c669bd2 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