]> granicus.if.org Git - php/commitdiff
more int->zend_bool conversions
authorNuno Lopes <nlopess@php.net>
Wed, 6 Sep 2006 11:54:29 +0000 (11:54 +0000)
committerNuno Lopes <nlopess@php.net>
Wed, 6 Sep 2006 11:54:29 +0000 (11:54 +0000)
sapi/apache/php_apache.c
sapi/apache_hooks/php_apache.c

index dd7abe2bb64b250083c8e5b2b09a7e8037017b75..9db0a948981406c01f835898ca402c40f767e55d 100644 (file)
@@ -394,7 +394,8 @@ PHP_FUNCTION(apache_response_headers)
    Set an Apache subprocess_env variable */
 PHP_FUNCTION(apache_setenv)
 {
-       int var_len, val_len, top=0;
+       int var_len, val_len;
+       zend_bool top=0;
        char *var = NULL, *val = NULL;
        request_rec *r = (request_rec *) SG(server_context);
 
index dff34bdad74117e02a6c53d10d041fb87ed24bb7..57f8b4e1d06a71bdf5eae2a54cc0edc087fe869c 100644 (file)
@@ -1796,7 +1796,8 @@ PHP_FUNCTION(apache_response_headers)
    Set an Apache subprocess_env variable */
 PHP_FUNCTION(apache_setenv)
 {
-       int var_len, val_len, top=0;
+       int var_len, val_len;
+       zend_bool top=0;
        char *var = NULL, *val = NULL;
        request_rec *r = (request_rec *) SG(server_context);