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:
0a18354
)
lwsws specifically signed char return lejp
author
Andy Green
<andy@warmcat.com>
Sat, 9 Apr 2016 01:32:01 +0000
(09:32 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 13 Apr 2016 03:53:40 +0000
(11:53 +0800)
Signed-off-by: Andy Green <andy@warmcat.com>
lwsws/conf.c
patch
|
blob
|
history
diff --git
a/lwsws/conf.c
b/lwsws/conf.c
index
c720d86
..
ff4029d
100644
(file)
--- a/
lwsws/conf.c
+++ b/
lwsws/conf.c
@@
-330,7
+330,7
@@
lwsws_get_config(void *user, const char *f, const char * const *paths,
if (!n)
break;
- m = (int)(char)lejp_parse(&ctx, buf, n);
+ m = (int)(
signed
char)lejp_parse(&ctx, buf, n);
} while (m == LEJP_CONTINUE);
close(fd);