svn: /php/php-src/trunk/sapi/apache2handler/ sapi_apache2.c

From: Date: Mon, 03 May 2010 14:30:14 +0000
Subject: svn: /php/php-src/trunk/sapi/apache2handler/ sapi_apache2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-62514@lists.php.net to get a copy of this message
pajoye Mon, 03 May 2010 14:30:14 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298906 Log: - WS Changed paths: U php/php-src/trunk/sapi/apache2handler/sapi_apache2.c Modified: php/php-src/trunk/sapi/apache2handler/sapi_apache2.c =================================================================== --- php/php-src/trunk/sapi/apache2handler/sapi_apache2.c 2010-05-03 14:29:07 UTC (rev 298905) +++ php/php-src/trunk/sapi/apache2handler/sapi_apache2.c 2010-05-03 14:30:14 UTC (rev 298906) @@ -119,8 +119,8 @@ 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 {

« previous php.cvs (#62514) next »