]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix a typo causing malfunction with HTTP/1.0 clients
authorAndreas Öman <andreas@lonelycoder.com>
Mon, 5 May 2008 19:46:41 +0000 (19:46 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Mon, 5 May 2008 19:46:41 +0000 (19:46 +0000)
http.c

diff --git a/http.c b/http.c
index 14337cc58dee56d429a404c345bc07a84af03ea7..befb2262cd746a2fcf4da52a74dfbdecaeea7682 100644 (file)
--- 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));