From 7e44c75338854297431cce9470160b4dd3974766 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 3 Jan 2013 02:29:45 +0100 Subject: [PATCH] add missing n_clients decrement --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index b673153..6a0c4bf 100644 --- a/client.c +++ b/client.c @@ -354,6 +354,7 @@ static void client_read_cb(struct client *cl) static void client_close(struct client *cl) { + n_clients--; uh_dispatch_done(cl); uloop_timeout_cancel(&cl->timeout); ustream_free(&cl->sfd.stream); -- 2.11.0