]> git.meshlink.io Git - catta/commitdiff
initialize n_clients to 0
authorLennart Poettering <lennart@poettering.net>
Sun, 21 Aug 2005 15:04:16 +0000 (15:04 +0000)
committerLennart Poettering <lennart@poettering.net>
Sun, 21 Aug 2005 15:04:16 +0000 (15:04 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@381 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-daemon/simple-protocol.c

index f4eebd7d0d21d1d32996707ed86885959099c7c1..485457a1c1c9db336ed1d0e601a168716c82c82b 100644 (file)
@@ -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;