Skip to content

Commit 7be91dd

Browse files
committed
Fix zpp call in apache_getenv()
1 parent 204e3f8 commit 7be91dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sapi/apache2handler/php_functions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ PHP_FUNCTION(apache_setenv)
288288
PHP_FUNCTION(apache_getenv)
289289
{
290290
php_struct *ctx;
291-
char *variable=NULL;
292-
int variable_len;
291+
char *variable;
292+
size_t variable_len;
293293
zend_bool walk_to_top = 0;
294294
int arg_count = ZEND_NUM_ARGS();
295295
char *env_val=NULL;

0 commit comments

Comments
 (0)