From: Jeremy Harris Date: Sun, 31 Jan 2021 13:58:26 +0000 (+0000) Subject: Fix Freebsd TFO build X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/18b5c10563ac6756d219fdaf76002c1330094ac1 Fix Freebsd TFO build Broken-by: 3eb0bcd7a1 --- diff --git a/src/src/malware.c b/src/src/malware.c index 7c134d759..831e9af1f 100644 --- a/src/src/malware.c +++ b/src/src/malware.c @@ -280,7 +280,7 @@ if (fd >= 0) { struct timeval tv = {.tv_sec = 5}; fd_set fds; - FD_ZERO(fds); FD_SET(fd, &fds); (void) select(fd+1, NULL, &fds, NULL, &tv); + FD_ZERO(&fds); FD_SET(fd, &fds); (void) select(fd+1, NULL, &fds, NULL, &tv); } #endif return fd;