commit 43a44bcef13e7014c764133b35560035d246baaf from: Omar Polo via: Thomas Adam date: Sun Dec 04 19:13:23 2022 UTC gotwebd: simplify bit of gotweb_process_request ok tracey commit - c44c7d6e16104afbe967e70415d98e2e58ec1b23 commit + 43a44bcef13e7014c764133b35560035d246baaf blob - eeea44e44f4b9158e6d0d1e02f17d92e371b2dd7 blob + ca8ba4229658d797a7c36e18298eb24eaa3af3a1 --- gotwebd/gotweb.c +++ gotwebd/gotweb.c @@ -186,15 +186,15 @@ gotweb_process_request(struct request *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) {