diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-06-06 22:23:03 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-06-06 22:47:41 +0100 |
commit | ca261bddd08ddf2091b9ef84a6a02ff232c25aa5 (patch) | |
tree | 0720c693790c864be7237767869cace5ffe61dbd | |
parent | 66e8d6abf5d8641241ff26eab09b183c4059120c (diff) |
tidying
Vroken-by: ef77ddc923
-rw-r--r-- | src/src/daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |