git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d783bb
)
Fix non-Linux build
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 6 Jun 2021 21:03:35 +0000
(22:03 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 6 Jun 2021 21:03:35 +0000
(22:03 +0100)
src/src/daemon.c
patch
|
blob
|
history
diff --git
a/src/src/daemon.c
b/src/src/daemon.c
index 2d8b223c4cf3f64f1255f24f8d1d87657f1eb71a..ebe3be3beb2f154bd488adcb94a9e08c70228a5e 100644
(file)
--- a/
src/src/daemon.c
+++ b/
src/src/daemon.c
@@
-2504,13
+2504,13
@@
for (;;)
if (FD_ISSET(lfd, &fds))
{
EXIM_SOCKLEN_T alen = sizeof(accepted);
+#if defined(TCP_INFO)
struct tcp_info ti;
socklen_t tlen = sizeof(ti);
/* If monitoring the backlog is wanted, grab for later logging */
smtp_listen_backlog = 0;
-#if defined(TCP_INFO)
if ( smtp_backlog_monitor > 0
&& getsockopt(lfd, IPPROTO_TCP, TCP_INFO, &ti, &tlen) == 0)
{