summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
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;