projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bef561
)
add missing n_clients decrement
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2013 01:29:45 +0000
(
02:29
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 3 Jan 2013 01:29:45 +0000
(
02:29
+0100)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index b673153edab48490ada82fd15e3f28c6dd6865bb..6a0c4bf9cf4a0ab9b1ead291338151681c6316fe 100644
(file)
--- 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);