diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-06-08 03:43:08 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-06-08 03:43:08 (JST) |
commit | e429fb0cca1e8c78da0ec38fe578bafdeec65534 (patch) | |
tree | 58c172f939509879045192fb8f1ba1d79160e67f /cgit.h | |
parent | 45e7fcecc1117440e6274ce3c6ab7d893c4986ee (diff) | |
download | cgit-e429fb0cca1e8c78da0ec38fe578bafdeec65534.zip cgit-e429fb0cca1e8c78da0ec38fe578bafdeec65534.tar.gz |
Return http statuscode 404 on unknown branch
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -181,6 +181,8 @@ struct cgit_page { | |||
181 | char *charset; | 181 | char *charset; |
182 | char *filename; | 182 | char *filename; |
183 | char *title; | 183 | char *title; |
184 | int status; | ||
185 | char *statusmsg; | ||
184 | }; | 186 | }; |
185 | 187 | ||
186 | struct cgit_context { | 188 | struct cgit_context { |