From a1210f73af52a43e7cc3b930c6d196f45e7a3dc3 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 3 May 2017 21:28:26 +0800 Subject: [PATCH] non-ssl: return 0 on pending https://github.com/warmcat/libwebsockets/issues/887 --- lib/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/output.c b/lib/output.c index 461f314c..727c423f 100644 --- a/lib/output.c +++ b/lib/output.c @@ -813,5 +813,5 @@ LWS_VISIBLE int lws_ssl_pending_no_ssl(struct lws *wsi) { (void)wsi; - return 1; + return 0; }