1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

fix build without ssl support

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-08-19 08:41:26 +08:00
parent 9ffe40112b
commit fc9871ec24

View file

@ -767,7 +767,11 @@ LWS_VISIBLE void lws_set_log_level(int level, void (*log_emit_function)(int leve
LWS_VISIBLE int
lws_is_ssl(struct libwebsocket *wsi)
{
#ifdef LWS_OPENSSL_SUPPORT
return wsi->use_ssl;
#else
return 0;
#endif
}
/**