From ff0c1963c26f85cecf36dab088989c2d8944c48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Mon, 5 May 2008 19:46:41 +0000 Subject: [PATCH] Fix a typo causing malfunction with HTTP/1.0 clients --- http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.c b/http.c index 14337cc5..befb2262 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));