diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-03 02:29:45 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-03 02:29:45 +0100 |
commit | 7e44c75338854297431cce9470160b4dd3974766 (patch) | |
tree | a530c095028cdfe91771734858113f901eda6ff7 /client.c | |
parent | 2bef561c890f275ce3b785e6abdb3eda28c96aa8 (diff) |
add missing n_clients decrement
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |