WITH_STATS: remove accidental dependency on ssl
authorAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 01:52:22 +0000 (09:52 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 28 Jun 2017 02:04:57 +0000 (10:04 +0800)
lib/libwebsockets.c

index 0c58dac..d51f29e 100755 (executable)
@@ -3470,7 +3470,8 @@ lws_stats_log_dump(struct lws_context *context)
 #endif
 
        while (v) {
-               if (v->use_ssl && v->lserv_wsi) {
+               if (v->lserv_wsi) {
+
                        struct lws_context_per_thread *pt = &context->pt[(int)v->lserv_wsi->tsi];
                        struct lws_pollfd *pfd;