From afdcecbb8df498f4893f577b3f0a7cabb699365f Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 9 May 2016 09:26:31 +0200 Subject: [PATCH] http server: fix code block, fixes #3788 --- src/http.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.47.3