[exim-cvs] Fix Freebsd TFO build

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Exim Git Commits Mailing List
Fecha:  
A: exim-cvs
Asunto: [exim-cvs] Fix Freebsd TFO build
Gitweb: https://git.exim.org/exim.git/commitdiff/18b5c10563ac6756d219fdaf76002c1330094ac1
Commit:     18b5c10563ac6756d219fdaf76002c1330094ac1
Parent:     6a1c2ef020854ef49c6a52ad4552d6b5ae1e1d1a
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jan 31 13:58:26 2021 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jan 31 13:58:26 2021 +0000


    Fix Freebsd TFO build


    Broken-by: 3eb0bcd7a1
---
 src/src/malware.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/malware.c b/src/src/malware.c
index 7c134d7..831e9af 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;