From: Lennart Poettering Date: Sun, 21 Aug 2005 15:04:16 +0000 (+0000) Subject: initialize n_clients to 0 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=298a8cdb7b369d80a1d8bad2bd315d2a38c5a38f;p=catta initialize n_clients to 0 git-svn-id: file:///home/lennart/svn/public/avahi/trunk@381 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- 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;