diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-13 11:59:36 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-13 11:59:36 +0100 |
commit | bee4450c61fc3c87d76dfb6e4fe68b0e6db2ecfe (patch) | |
tree | 2652bd2af0a8a6f89f8ab2e7b2ab46050d427505 /uhttpd.h | |
parent | 857bf0231d89d3a2bbccfef27af53ce3baaa2403 (diff) |
fix cgi/lua header parsing
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |