On Sun, Apr 5, 2015 at 5:54 PM, John Keeping <[email protected]> wrote:
>
> +void cgit_print_error_page(int code, const char *msg, const char *fmt,
> ...)
> +{
> +       va_list ap;
> +       ctx.page.status = 404;
> +       ctx.page.statusmsg = "Not found";
>

Shouldn't status = code here, not hardcoded 404?
_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to