summaryrefslogtreecommitdiffstats
path: root/PICA_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'PICA_node.c')
-rwxr-xr-xPICA_node.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/PICA_node.c b/PICA_node.c
index 40eca10..37465bb 100755
--- a/PICA_node.c
+++ b/PICA_node.c
@@ -2713,10 +2713,12 @@ int node_loop()
{
fd_set fds;
struct timeval tv;
-int nfds = 0,ret;
+int nfds, ret;
do
{
+ nfds = 0;
+
FD_ZERO(&fds);
tv.tv_sec=SELECT_TIMEOUT;
tv.tv_usec=0;