commit - 24b7de1c04072bf25db2df8acbf93a7ba7bbabfd
commit + 6970304f7fbe7bb6534af3f344013b472a1a9698
blob - 9a3abd68641ab30d610ded5824470cdc62015474
blob + fc0c94f6c50f1675561ef2a30f20c748df22416c
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
goto err;
}
goto done;
- } else {
-render:
- error = gotweb_render_content_type(c, "text/html");
- if (error) {
- log_warnx("%s: %s", __func__, error->msg);
- goto err;
- }
- html = 1;
+ }
+
+render:
+ error = gotweb_render_content_type(c, "text/html");
+ if (error) {
+ log_warnx("%s: %s", __func__, error->msg);
+ goto err;
}
+ html = 1;
error = gotweb_render_header(c);
if (error) {