diff options
author | John Keeping | 2015-08-14 12:47:19 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2015-08-14 15:46:51 +0200 |
commit | 696a33b66f8638d5c3e0464d66760c6d60ff24a5 (patch) | |
tree | 8da0938fb4cc6ac6dc487dfc9a117cc1f910de3e /cmd.c | |
parent | a3daa41b78fc2c528c9a42630ab95451ddb87358 (diff) | |
download | cgit-696a33b66f8638d5c3e0464d66760c6d60ff24a5.tar.gz cgit-696a33b66f8638d5c3e0464d66760c6d60ff24a5.tar.bz2 cgit-696a33b66f8638d5c3e0464d66760c6d60ff24a5.zip |
tag: move layout into page function
This also allows us to return proper HTTP error codes when something
goes wrong.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,7 +171,7 @@ struct cgit_cmd *cgit_get_cmd(void) | |||
171 | def_cmd(snapshot, 1, 0, 0, 0), | 171 | def_cmd(snapshot, 1, 0, 0, 0), |
172 | def_cmd(stats, 1, 0, 1, 0), | 172 | def_cmd(stats, 1, 0, 1, 0), |
173 | def_cmd(summary, 1, 0, 0, 0), | 173 | def_cmd(summary, 1, 0, 0, 0), |
174 | def_cmd(tag, 1, 1, 0, 0), | 174 | def_cmd(tag, 1, 0, 0, 0), |
175 | def_cmd(tree, 1, 1, 1, 0), | 175 | def_cmd(tree, 1, 1, 1, 0), |
176 | }; | 176 | }; |
177 | int i; | 177 | int i; |