summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-13 11:59:36 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-13 11:59:36 +0100
commitbee4450c61fc3c87d76dfb6e4fe68b0e6db2ecfe (patch)
tree2652bd2af0a8a6f89f8ab2e7b2ab46050d427505 /uhttpd.h
parent857bf0231d89d3a2bbccfef27af53ce3baaa2403 (diff)
fix cgi/lua header parsing
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/uhttpd.h b/uhttpd.h
index 12cfc28..9dba44d 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -41,8 +41,8 @@
#define UH_LIMIT_CLIENTS 64
-#define __enum_header(_name) HDR_##_name,
-#define __blobmsg_header(_name) [HDR_##_name] = { .name = #_name, .type = BLOBMSG_TYPE_STRING },
+#define __enum_header(_name, _val) HDR_##_name,
+#define __blobmsg_header(_name, _val) [HDR_##_name] = { .name = #_val, .type = BLOBMSG_TYPE_STRING },
struct client;