]> granicus.if.org Git - php/commitdiff
- WS
authorPierre Joye <pajoye@php.net>
Mon, 3 May 2010 14:29:07 +0000 (14:29 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 3 May 2010 14:29:07 +0000 (14:29 +0000)
sapi/apache2handler/sapi_apache2.c

index 386bef0dbc3f9f9283d4f7cf7108611d5adeed94..3d1c5ae7650f412ddb2f9c0d9d77dcbc2761b86e 100644 (file)
@@ -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 {