projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
864d902
)
fix-client-close.patch
author
Andy Green
<andy@warmcat.com>
Sun, 30 Jan 2011 12:15:22 +0000
(12:15 +0000)
committer
Andy Green
<andy@warmcat.com>
Sun, 30 Jan 2011 12:15:22 +0000
(12:15 +0000)
Signed-off-by: Andy Green <andy@warmcat.com>
lib/client-handshake.c
patch
|
blob
|
history
diff --git
a/lib/client-handshake.c
b/lib/client-handshake.c
index
e2d2143
..
3b57bd9
100644
(file)
--- a/
lib/client-handshake.c
+++ b/
lib/client-handshake.c
@@
-39,6
+39,7
@@
libwebsocket_client_close(struct libwebsocket *wsi)
while (n < clients->fds_count - 1) {
clients->fds[n] = clients->fds[n + 1];
clients->wsi[n] = clients->wsi[n + 1];
+ n++;
}
/* we only have to deal with one */
n = clients->fds_count;