Return http statuscode 404 on unknown branch

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2009-06-07 20:43:08 +02:00
parent 45e7fcecc1
commit e429fb0cca
3 changed files with 6 additions and 0 deletions

2
cgit.h
View file

@ -181,6 +181,8 @@ struct cgit_page {
char *charset;
char *filename;
char *title;
int status;
char *statusmsg;
};
struct cgit_context {