summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2021-01-31 13:58:26 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2021-01-31 13:58:26 +0000
commit18b5c10563ac6756d219fdaf76002c1330094ac1 (patch)
treea68cb90b73a411923e8ba4c522a3fc2803835f28 /src
parent6a1c2ef020854ef49c6a52ad4552d6b5ae1e1d1a (diff)
Fix Freebsd TFO build
Broken-by: 3eb0bcd7a1
Diffstat (limited to 'src')
-rw-r--r--src/src/malware.c2
1 files changed, 1 insertions, 1 deletions
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;