Fix Freebsd TFO build
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 31 Jan 2021 13:58:26 +0000 (13:58 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 31 Jan 2021 13:58:26 +0000 (13:58 +0000)
Broken-by: 3eb0bcd7a1
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;