summaryrefslogtreecommitdiffstats
path: root/hunt/hunt/hunt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hunt/hunt/hunt.c')
-rw-r--r--hunt/hunt/hunt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index b7470590..08b492bc 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.3 1997/10/11 08:13:41 lukem Exp $ */
+/* $NetBSD: hunt.c,v 1.4 1997/10/20 00:37:14 lukem Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.3 1997/10/11 08:13:41 lukem Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.4 1997/10/20 00:37:14 lukem Exp $");
#endif /* not lint */
# include <sys/stat.h>
@@ -508,6 +508,7 @@ get_response:
listmax * sizeof(SOCKET));
}
+ FD_ZERO(&mask);
FD_SET(test_socket, &mask);
if (select(test_socket + 1, &mask, NULL, NULL, &wait) == 1 &&
recvfrom(test_socket, (char *) &port_num, sizeof(port_num),