Fix Freebsd TFO build
[users/heiko/exim.git] / src / src / malware.c
index 7c134d7597e8baaa2d9fd8b128c71ad0d42aedb7..831e9af1f7e091c9327bda35e9e9b3f38f92806b 100644 (file)
@@ -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;