diff options
author | Anatol Belski <ab@php.net> | 2015-02-13 10:47:34 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-02-13 11:21:49 +0100 |
commit | 5d8ebcc73c4f873a6a38189ce5bd99ccf863c665 (patch) | |
tree | 268e8c25c32b318f3fc1b890c221c815175bede3 /sapi/cli/php_cli_server.c | |
parent | bb2091704922599c88cc18e17931004f7a670600 (diff) | |
download | php-git-5d8ebcc73c4f873a6a38189ce5bd99ccf863c665.tar.gz |
remove useless condition (same as headers_list())
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r-- | sapi/cli/php_cli_server.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 64acd9a682..6315cd8ae5 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -419,9 +419,6 @@ PHP_FUNCTION(apache_response_headers) /* {{{ */ return; } - if (!&SG(sapi_headers).headers) { - RETURN_FALSE; - } array_init(return_value); zend_llist_apply_with_argument(&SG(sapi_headers).headers, (llist_apply_with_arg_func_t)add_response_header, return_value); } |