From: Pierre Joye Date: Mon, 3 May 2010 14:30:14 +0000 (+0000) Subject: - WS X-Git-Tag: php-5.4.0alpha1~191^2~1583 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9720dea2c7c6eea3c45692196718d218d2e6811b;p=php - WS --- diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 22e879237e..e3367eaba8 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -119,8 +119,8 @@ php_apache_sapi_header_handler(sapi_header_struct *sapi_header, sapi_header_op_e efree(ctx->content_type); } ctx->content_type = estrdup(val); - } else if (!strcasecmp(sapi_header->header, "content-length")) { - ap_set_content_length(ctx->r, strtol(val, (char **)NULL, 10)); + } else if (!strcasecmp(sapi_header->header, "content-length")) { + ap_set_content_length(ctx->r, strtol(val, (char **)NULL, 10)); } else if (op == SAPI_HEADER_REPLACE) { apr_table_set(ctx->r->headers_out, sapi_header->header, val); } else {