From: Jaroslav Kysela Date: Mon, 9 May 2016 07:26:31 +0000 (+0200) Subject: http server: fix code block, fixes #3788 X-Git-Tag: v4.2.1~546 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=afdcecbb8df498f4893f577b3f0a7cabb699365f;p=thirdparty%2Ftvheadend.git http server: fix code block, fixes #3788 --- diff --git a/src/http.c b/src/http.c index 60c92e883..d98a06fae 100644 --- a/src/http.c +++ b/src/http.c @@ -549,7 +549,7 @@ http_error(http_connection_t *hc, int error) if (!atomic_get(&http_server_running)) return; - if (error != HTTP_STATUS_FOUND && error != HTTP_STATUS_MOVED) + if (error != HTTP_STATUS_FOUND && error != HTTP_STATUS_MOVED) { level = LOG_INFO; if (error == HTTP_STATUS_UNAUTHORIZED) level = LOG_DEBUG; @@ -558,6 +558,7 @@ http_error(http_connection_t *hc, int error) tvhlog(level, "http", "%s: %s %s %s -- %d", hc->hc_peer_ipstr, http_ver2str(hc->hc_version), http_cmd2str(hc->hc_cmd), hc->hc_url, error); + } if (hc->hc_version != RTSP_VERSION_1_0) { htsbuf_queue_flush(&hc->hc_reply);