[exim-cvs] tidying

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] tidying
Gitweb: https://git.exim.org/exim.git/commitdiff/ca261bddd08ddf2091b9ef84a6a02ff232c25aa5
Commit:     ca261bddd08ddf2091b9ef84a6a02ff232c25aa5
Parent:     66e8d6abf5d8641241ff26eab09b183c4059120c
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jun 6 22:23:03 2021 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jun 6 22:47:41 2021 +0100


    tidying


    Vroken-by: ef77ddc923
---
 src/src/daemon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


diff --git a/src/src/daemon.c b/src/src/daemon.c
index ebe3be3..548daf0 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;
             }