summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-05-03 14:30:14 +0000
committerPierre Joye <pajoye@php.net>2010-05-03 14:30:14 +0000
commit9720dea2c7c6eea3c45692196718d218d2e6811b (patch)
treed61859db8b668b3a1f430b315f24057fdec6172b /sapi
parent57059d4e313c809d6e091adcebe299afc9b972c3 (diff)
downloadphp-git-9720dea2c7c6eea3c45692196718d218d2e6811b.tar.gz
- WS
Diffstat (limited to 'sapi')
-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 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 {