commit - d7034a4ea257e654c3ac01eae64452461d31d233
commit + 0cef9478411f528bc7f37b8c7a21d21a7f650592
blob - efbd65db33afe8b913df52cf9c6ded70308705b8
blob + 34768ee07c4fbf289caf1d73eef67a0b24b97216
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
}
const struct got_error *
-gotweb_render_content_type(struct request *c, const uint8_t *type)
+gotweb_render_content_type(struct request *c, const char *type)
{
const char *csp = "default-src 'self'; script-src 'none'; "
"object-src 'none';";
blob - 3c805ab5bb454c73db3f42dc2068c27fe2897265
blob + 1f26c4630083695ef375fda2877235580500fca3
--- gotwebd/gotwebd.h
+++ gotwebd/gotwebd.h
/* gotweb.c */
const struct got_error *gotweb_render_content_type(struct request *,
- const uint8_t *);
+ const char *);
const struct got_error
*gotweb_render_content_type_file(struct request *, const char *,
const char *, const char *);