From fc68ad0a74ab4c09c468abbc077a21ad0d230c5c Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 23 Mar 2015 15:27:39 +0100 Subject: [PATCH] http: a little cleanup --- src/http.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/http.c b/src/http.c index 5603c6e5..f0eb4284 100644 --- a/src/http.c +++ b/src/http.c @@ -226,8 +226,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, htsbuf_queue_init(&hdrs, 0); htsbuf_qprintf(&hdrs, "%s %d %s\r\n", - val2str(hc->hc_version, HTTP_versiontab), - rc, http_rc2str(rc)); + http_ver2str(hc->hc_version), rc, http_rc2str(rc)); if (hc->hc_version != RTSP_VERSION_1_0) htsbuf_qprintf(&hdrs, "Server: HTS/tvheadend\r\n");