summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-10-29 23:11:10 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-10-29 23:42:58 +0900
commit39da18f156e73ab01745295d70d68e5800b0b6c1 (patch)
tree0296d8569c0c2f53ff44def7ef151a4640bb036a /deps
parent2676bbe9c66c5403710c80fe2ff7c4a6ce69fd8d (diff)
Removed dead code
Diffstat (limited to 'deps')
-rw-r--r--deps/wslay/lib/wslay_event.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/deps/wslay/lib/wslay_event.c b/deps/wslay/lib/wslay_event.c
index 926a5183..b3c4ed79 100644
--- a/deps/wslay/lib/wslay_event.c
+++ b/deps/wslay/lib/wslay_event.c
@@ -860,8 +860,6 @@ int wslay_event_send(wslay_event_context_ptr ctx)
ctx->obuflimit = ctx->obuf+r;
if(eof) {
ctx->omsg->fin = 1;
- } else if(r == 0) {
- break;
}
ctx->opayloadlen = r;
ctx->opayloadoff = 0;