diff options
| Commit | 73ef8567f04c2dea8fbf83213b28e0cd1dff98f3 (patch) | |
|---|---|---|
| Author | 2015-08-14 15:20:23 +0100 | |
| Committer | 2015-08-14 16:41:22 +0200 | |
| Files | 31c8d10c19df8171cf67bb2f7dbd4a0f12f8b1a2 /cmd.c | |
| cgit-73ef8567f04c2dea8fbf83213b28e0cd1dff98f3.tar cgit-73ef8567f04c2dea8fbf83213b28e0cd1dff98f3.tar.gz cgit-73ef8567f04c2dea8fbf83213b28e0cd1dff98f3.zip | ||
| Parent | 03de473354dc8c17a3b23a973b5cc67752ad20cb (diff) | |
cmd: fix command definition
The previous commit removed the "pre" field from "struct cgit_cmd" but
forgot to update this macro.
Signed-off-by: John Keeping <john@keeping.me.uk>
Reviewed-by: Christian Hesse <mail@eworm.de>
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | cmd.c | 2 |
@@ -142,7 +142,7 @@ static void tree_fn(void) } #define def_cmd(name, want_repo, want_vpath, is_clone) \ - {#name, name##_fn, NULL, want_repo, want_vpath, is_clone} + {#name, name##_fn, want_repo, want_vpath, is_clone} struct cgit_cmd *cgit_get_cmd(void) { |
