summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/hostm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/hostm.c b/server/hostm.c
index 78e58a1..c6a2ede 100644
--- a/server/hostm.c
+++ b/server/hostm.c
@@ -88,7 +88,7 @@ typedef struct _losinghost {
static struct hostlist *all_hosts;
-static int num_hosts; /* number of hosts in all_hosts */
+static int num_hosts = 0; /* number of hosts in all_hosts */
static long lose_timo = LOSE_TIMO;
static losinghost *losing_hosts = NULLLH; /* queue of pings for hosts we