diff options
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server.c b/server.c index 8aea1e5..48b760c 100644 --- a/server.c +++ b/server.c @@ -40,13 +40,13 @@ static void finalizeAll(void) { } const char *Pages[PagesLen] = { -#define X(page, path) [page] = path, +#define X(path, page) [page] = path, ENUM_PAGES #undef X }; const struct kvalid Keys[KeysLen] = { -#define X(key, name, valid) [key] = { valid, name }, +#define X(valid, name, key) [key] = { valid, name }, ENUM_KEYS #undef X }; |