silcd: increment stat.clients statistics whenever adding new client
authorPekka Riikonen <priikone@silcnet.org>
Sat, 17 Jan 2009 09:42:07 +0000 (11:42 +0200)
committerPekka Riikonen <priikone@silcnet.org>
Sat, 17 Jan 2009 09:42:07 +0000 (11:42 +0200)
commit4993b03b9ccd85373a60f9cf5c8d99a865898fda
tree9b648e6e2bb5a602052cba0aca9977184cfa0d4b
parent454d63a3ea0c954f9d40b9e7725fd9ea48503f4c
silcd: increment stat.clients statistics whenever adding new client

When new client is added to server the stat.clients must always be
incremented.  Otherwise it is possible to go under zero when removing
the clients by server.
apps/silcd/command_reply.c
apps/silcd/packet_receive.c
apps/silcd/server.c
apps/silcd/server_util.c
configure.ad
distdir/autodist.conf