Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
9c4961a
)
fix bug in reading socket
author
José Bollo
<jose.bollo@iot.bzh>
Mon, 29 Aug 2016 14:19:53 +0000
(16:19 +0200)
committer
José Bollo
<jose.bollo@iot.bzh>
Mon, 29 Aug 2016 14:19:53 +0000
(16:19 +0200)
Change-Id: I2f7daf847f59a450fafa5d7edf5f5984fdc15481
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/websock.c
patch
|
blob
|
history
diff --git
a/src/websock.c
b/src/websock.c
index
1b886c1
..
e899ee5
100644
(file)
--- a/
src/websock.c
+++ b/
src/websock.c
@@
-537,7
+537,7
@@
int websock_drop(struct websock *ws)
char buffer[8000];
while (ws->length)
- if (w
s
_read(ws, buffer, sizeof buffer) < 0)
+ if (w
ebsock
_read(ws, buffer, sizeof buffer) < 0)
return -1;
return 0;
}