From 30edd910b6f5408268331bbe2292b4599778b067 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 29 Jan 2015 09:42:22 +0800 Subject: [PATCH] ssl pending buffered reads unbreak NO_SSL Signed-off-by: Andy Green --- lib/lws-plat-unix.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lws-plat-unix.c b/lib/lws-plat-unix.c index a894e80..52069cc 100644 --- a/lib/lws-plat-unix.c +++ b/lib/lws-plat-unix.c @@ -97,7 +97,9 @@ lws_plat_service(struct libwebsocket_context *context, int timeout_ms) int n; int m; char buf; +#ifdef LWS_OPENSSL_SUPPORT struct libwebsocket *wsi, *wsi_next; +#endif /* stay dead once we are dead */ -- 2.7.4