From: Andreas Ă–man Date: Mon, 5 May 2008 19:46:41 +0000 (+0000) Subject: Fix a typo causing malfunction with HTTP/1.0 clients X-Git-Tag: 2.12~1015 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff0c1963c26f85cecf36dab088989c2d8944c48b;p=thirdparty%2Ftvheadend.git Fix a typo causing malfunction with HTTP/1.0 clients --- diff --git a/http.c b/http.c index 14337cc58..befb2262c 100644 --- a/http.c +++ b/http.c @@ -178,7 +178,7 @@ http_send_reply(http_connection_t *hc, http_reply_t *hr) tcp_queue_t *tq = &hr->hr_tq; int r; - if(hr->hr_version > HTTP_VERSION_1_0) { + if(hr->hr_version >= HTTP_VERSION_1_0) { http_printf(hc, "%s %d %s\r\n", val2str(hr->hr_version, HTTP_versiontab), hr->hr_rc, http_rc2str(hr->hr_rc));