author | Lars Hjemli <hjemli@gmail.com> | 2009-06-07 18:43:08 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-06-07 18:43:08 (UTC) |
commit | e429fb0cca1e8c78da0ec38fe578bafdeec65534 (patch) (unidiff) | |
tree | 58c172f939509879045192fb8f1ba1d79160e67f /cgit.h | |
parent | 45e7fcecc1117440e6274ce3c6ab7d893c4986ee (diff) | |
download | cgit-e429fb0cca1e8c78da0ec38fe578bafdeec65534.zip cgit-e429fb0cca1e8c78da0ec38fe578bafdeec65534.tar.gz cgit-e429fb0cca1e8c78da0ec38fe578bafdeec65534.tar.bz2 |
Return http statuscode 404 on unknown branch
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -178,12 +178,14 @@ struct cgit_page { | |||
178 | time_t expires; | 178 | time_t expires; |
179 | size_t size; | 179 | size_t size; |
180 | char *mimetype; | 180 | char *mimetype; |
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 { |
187 | struct cgit_query qry; | 189 | struct cgit_query qry; |
188 | struct cgit_config cfg; | 190 | struct cgit_config cfg; |
189 | struct cgit_repo *repo; | 191 | struct cgit_repo *repo; |