projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ffe401
)
fix build without ssl support
author
Andy Green
<andy.green@linaro.org>
Tue, 19 Aug 2014 00:41:26 +0000
(08:41 +0800)
committer
Andy Green
<andy.green@linaro.org>
Tue, 19 Aug 2014 00:41:26 +0000
(08:41 +0800)
Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.c
patch
|
blob
|
history
diff --git
a/lib/libwebsockets.c
b/lib/libwebsockets.c
index
166dd3c
..
602acaf
100644
(file)
--- a/
lib/libwebsockets.c
+++ b/
lib/libwebsockets.c
@@
-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
}
/**