diff options
author | 1987-12-14 14:28:24 +0000 | |
---|---|---|
committer | 1987-12-14 14:28:24 +0000 | |
commit | c3d9cb780368515672a7a5c9b19ae23ebf7b5ecd (patch) | |
tree | f4ee6b69c19f8f6044b6dd1839c54c684771d09a | |
parent | 6b495dbf2f0d1ee4216ebe248b0ee7409810ea0d (diff) |
set num_hosts before using it.
-rw-r--r-- | server/hostm.c | 2 |
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 |