non-ssl: return 0 on pending
authorAndy Green <andy@warmcat.com>
Wed, 3 May 2017 13:28:26 +0000 (21:28 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 3 May 2017 13:28:26 +0000 (21:28 +0800)
https://github.com/warmcat/libwebsockets/issues/887

lib/output.c

index 461f314cbffb226f74cbf3873c9d43c27934711f..727c423fb8bb0392c41378c639e69590c636453b 100644 (file)
@@ -813,5 +813,5 @@ LWS_VISIBLE int
 lws_ssl_pending_no_ssl(struct lws *wsi)
 {
        (void)wsi;
-       return 1;
+       return 0;
 }