summaryrefslogtreecommitdiff
path: root/sapi/apache2handler
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-05-03 14:29:07 +0000
committerPierre Joye <pajoye@php.net>2010-05-03 14:29:07 +0000
commitcbe5199c429818ca2b487c24c17a2a8977684a6e (patch)
treea5503d38faeb01992c83535378767308bfce3ee8 /sapi/apache2handler
parent88bf6307981407180bc2bed9f90a62e55994ce7f (diff)
downloadphp-git-cbe5199c429818ca2b487c24c17a2a8977684a6e.tar.gz
- WS
Diffstat (limited to 'sapi/apache2handler')
-rw-r--r--sapi/apache2handler/sapi_apache2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c
index 386bef0dbc..3d1c5ae765 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 {