From 298a8cdb7b369d80a1d8bad2bd315d2a38c5a38f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 21 Aug 2005 15:04:16 +0000 Subject: initialize n_clients to 0 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@381 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/simple-protocol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/avahi-daemon/simple-protocol.c b/avahi-daemon/simple-protocol.c index f4eebd7..485457a 100644 --- a/avahi-daemon/simple-protocol.c +++ b/avahi-daemon/simple-protocol.c @@ -403,6 +403,7 @@ int simple_protocol_setup(const AvahiPoll *poll_api) { server->poll_api = poll_api; server->bind_successful = 0; server->fd = -1; + server->n_clients = 0; AVAHI_LLIST_HEAD_INIT(Client, server->clients); server->watch = NULL; -- cgit