From 9cb47be07fa4746be4c74a81e216b5d316b35216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20B=C3=BChler?= Date: Wed, 27 Aug 2008 14:53:03 +0000 Subject: [PATCH] Fix small copy/paste typo in previous commit git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2297 152afb58-edef-0310-8abb-c4023f1b3aa9 --- src/response.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/response.c b/src/response.c index 76f4e171..507c81c6 100644 --- a/src/response.c +++ b/src/response.c @@ -68,7 +68,7 @@ int http_response_write_header(server *srv, connection *con) { 0 != strcasecmp(ds->key->ptr, "X-Sendfile")) { if (0 == strcasecmp(ds->key->ptr, "Date")) have_date = 1; if (0 == strcasecmp(ds->key->ptr, "Server")) have_server = 1; - if (0 == strcasecmp(ds->key, "Content-Encoding") && 304 == con->http_status) continue; + if (0 == strcasecmp(ds->key->ptr, "Content-Encoding") && 304 == con->http_status) continue; buffer_append_string_len(b, CONST_STR_LEN("\r\n")); buffer_append_string_buffer(b, ds->key);