com php-src: follow up fix for headers sent, checking a reference would be always true as well: ext/standard/head.c

From: Date: Wed, 04 Feb 2015 17:13:27 +0000
Subject: com php-src: follow up fix for headers sent, checking a reference would be always true as well: ext/standard/head.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84641@lists.php.net to get a copy of this message
Commit: b5d3c5ca8dee6303498849448e3574cc3642eeea Author: Anatol Belski <ab@php.net> Wed, 4 Feb 2015 17:38:02 +0100 Parents: 1b87f31ba824610a897dfea965677fb608022a3e Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b5d3c5ca8dee6303498849448e3574cc3642eeea Log: follow up fix for headers sent, checking a reference would be always true as well Changed paths: M ext/standard/head.c Diff: diff --git a/ext/standard/head.c b/ext/standard/head.c index a8daf1e..60b88ec 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -281,7 +281,7 @@ PHP_FUNCTION(headers_list) return; } - if (!&SG(sapi_headers).headers.count) { + if (!SG(sapi_headers).headers.count) { RETURN_FALSE; } array_init(return_value);

« previous php.cvs (#84641) next »