projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add cookie support
[project/luci.git]
/
libs
/
sgi-webuci
/
src
/
luci.c
diff --git
a/libs/sgi-webuci/src/luci.c
b/libs/sgi-webuci/src/luci.c
index
24d4324
..
44a44af
100644
(file)
--- a/
libs/sgi-webuci/src/luci.c
+++ b/
libs/sgi-webuci/src/luci.c
@@
-160,6
+160,7
@@
static int luci_handle_req(struct httpd_plugin *p, struct http_context *ctx)
/* convert http_context data structure to lua table */
#define PUSH(x) pushvar(#x, ctx->x)
+ PUSH(cookie);
PUSH(request_method);
PUSH(server_addr);
PUSH(server_proto);