summaryrefslogtreecommitdiffabout
path: root/cgit.h
authorLars Hjemli <hjemli@gmail.com>2009-06-07 18:43:08 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2009-06-07 18:43:08 (UTC)
commite429fb0cca1e8c78da0ec38fe578bafdeec65534 (patch) (unidiff)
tree58c172f939509879045192fb8f1ba1d79160e67f /cgit.h
parent45e7fcecc1117440e6274ce3c6ab7d893c4986ee (diff)
downloadcgit-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>
Diffstat (limited to 'cgit.h') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index 5f7af51..00aca4c 100644
--- a/cgit.h
+++ b/cgit.h
@@ -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
186struct cgit_context { 188struct cgit_context {