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:
66e8d6a
)
tidying
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 6 Jun 2021 21:23:03 +0000
(22:23 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 6 Jun 2021 21:47:41 +0000
(22:47 +0100)
Vroken-by: ef77ddc923
src/src/daemon.c
patch
|
blob
|
history
diff --git
a/src/src/daemon.c
b/src/src/daemon.c
index ebe3be3beb2f154bd488adcb94a9e08c70228a5e..548daf0ac0bdbd343df4e472f54aa749872279f2 100644
(file)
--- a/
src/src/daemon.c
+++ b/
src/src/daemon.c
@@
-973,7
+973,7
@@
const int dir_flags = O_RDONLY | O_NONBLOCK;
const int base_flags = O_NOFOLLOW | O_NONBLOCK;
const mode_t base_mode = 0644;
struct stat sb;
-int cwd_fd
, dir_fd, base_fd
;
+int cwd_fd
= -1, dir_fd = -1, base_fd = -1
;
BOOL success = FALSE;
errno = EACCES;
@@
-2522,8
+2522,8
@@
for (;;)
lfd, ti.__tcpi_sacked, ti.__tcpi_unacked);
smtp_listen_backlog = ti.__tcpi_unacked;
# endif
- }
#endif
+ }
accept_socket = accept(lfd, (struct sockaddr *)&accepted, &alen);
break;
}