<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 5, 2015 at 5:54 PM, John Keeping <span dir="ltr"><<a href="mailto:john@keeping.me.uk" target="_blank">john@keeping.me.uk</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+void cgit_print_error_page(int code, const char *msg, const char *fmt, ...)<br>
+{<br>
+ va_list ap;<br>
+ ctx.page.status = 404;<br>
+ ctx.page.statusmsg = "Not found";<br></blockquote><div><br></div><div>Shouldn't status = code here, not hardcoded 404? </div></div>
</div></div>