--- ./tvheadend-git/src/http.c 2016-05-08 22:05:05.948870192 +0200 +++ ./tvheadend-git.new/src/http.c 2016-05-08 22:02:59.000000000 +0200 @@ -551,13 +551,13 @@ if (error != HTTP_STATUS_FOUND && error != HTTP_STATUS_MOVED) level = LOG_INFO; - if (error == HTTP_STATUS_UNAUTHORIZED) - level = LOG_DEBUG; - else if (error == HTTP_STATUS_BAD_REQUEST || error > HTTP_STATUS_UNAUTHORIZED) - level = LOG_ERR; - 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 (error == HTTP_STATUS_UNAUTHORIZED) + level = LOG_DEBUG; + else if (error == HTTP_STATUS_BAD_REQUEST || error > HTTP_STATUS_UNAUTHORIZED) + level = LOG_ERR; + 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);