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:
0be9e98
)
LWS_WITH_NO_LOGS: take care about unused array for log generation
author
Andy Green
<andy@warmcat.com>
Fri, 9 Jun 2017 13:46:26 +0000
(21:46 +0800)
committer
Andy Green
<andy@warmcat.com>
Fri, 9 Jun 2017 13:46:26 +0000
(21:46 +0800)
lib/context.c
patch
|
blob
|
history
diff --git
a/lib/context.c
b/lib/context.c
index
9bf5465
..
f71f01d
100644
(file)
--- a/
lib/context.c
+++ b/
lib/context.c
@@
-40,6
+40,7
@@
lws_get_library_version(void)
return library_version;
}
+#if !defined(LWS_WITH_NO_LOGS)
static const char * const mount_protocols[] = {
"http://",
"https://",
@@
-49,6
+50,7
@@
static const char * const mount_protocols[] = {
">https://",
"callback://"
};
+#endif
LWS_VISIBLE void *
lws_protocol_vh_priv_zalloc(struct lws_vhost *vhost, const struct lws_protocols *prot,