Website Summary Files Commits Branches @commit @diff @stats
path: root / ui-shared.h
diff options
context:
space:
mode:
Commitfd00e71ab7cf1eabd8d1fc2e5980055350849034 (patch)
Author
 John Keeping <john@keeping.me.uk>
2015-08-14 12:47:09 +0100
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2015-08-14 15:46:51 +0200
Files0f206d7e919bcd301f17278fd0e9c37fb2559a12 /ui-shared.h
cgit-fd00e71ab7cf1eabd8d1fc2e5980055350849034.tar
cgit-fd00e71ab7cf1eabd8d1fc2e5980055350849034.tar.gz
cgit-fd00e71ab7cf1eabd8d1fc2e5980055350849034.zip
Parent58e827cbd9811500f72bf25b1db569b208661618 (diff)
snapshot: don't reimplement cgit_print_error_page()
cgit_print_error_page() has the advantage that it sets a suitable HTTP status code for the response. Note that setting "mimetype" is redundant here since it cannot have changed since being initialized in cgit.c::prepare_context(), so we do not need to worry that cgit_print_error_page() does not set it. Signed-off-by: John Keeping <john@keeping.me.uk>
0 files changed, 0 insertions, 0 deletions