]> gitweb.ps.run Git - ps-cgit/commit
snapshot: use cgit_print_error_page() for HTTP status codes
authorJohn Keeping <john@keeping.me.uk>
Fri, 14 Aug 2015 11:47:08 +0000 (12:47 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 14 Aug 2015 13:46:51 +0000 (15:46 +0200)
commit58e827cbd9811500f72bf25b1db569b208661618
tree24c7e6bb0303d86b6b013d6eb152152fac6b7fd7
parente3e41e5125b1ce270b5afb42beb83e14c0f350cb
snapshot: use cgit_print_error_page() for HTTP status codes

This is a bugfix as well as an improvement to the HTTP status code
handling since previously we would not print HTTP headers on any of
these code paths.

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