summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;