]> granicus.if.org Git - cgit/commit
ui-shared: add cgit_print_error_page() function
authorJohn Keeping <john@keeping.me.uk>
Fri, 14 Aug 2015 11:47:01 +0000 (12:47 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 14 Aug 2015 13:46:51 +0000 (15:46 +0200)
commitaec1204a54e3baa12c76db75c2f67696def05eb0
tree313974d5bc7e8c26178f266f632d993cca2b883b
parentaa12084f9835783abbd1f1e4609f8de05e73cec4
ui-shared: add cgit_print_error_page() function

This will allow us to generate error responses with the correct HTTP
response code without needing all of the layout boilerplate.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-shared.c
ui-shared.h