From 39da18f156e73ab01745295d70d68e5800b0b6c1 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 29 Oct 2012 23:11:10 +0900 Subject: [PATCH] Removed dead code --- deps/wslay/lib/wslay_event.c | 2 -- 1 file changed, 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;