From: Jeremy Harris Date: Sun, 6 Jun 2021 21:23:03 +0000 (+0100) Subject: tidying X-Git-Tag: exim-4.95-RC0~31 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/ca261bddd08ddf2091b9ef84a6a02ff232c25aa5 tidying Vroken-by: ef77ddc923 --- diff --git a/src/src/daemon.c b/src/src/daemon.c index ebe3be3be..548daf0ac 100644 --- 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; }