From 954199c9fbd0513d24d387391d20e09b24068104 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Sat, 29 Apr 2006 14:53:26 +0000 Subject: More ZSTR() fixes --- sapi/cli/php_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 864975414c..476d0d6c79 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -1146,7 +1146,7 @@ int main(int argc, char *argv[]) Z_LVAL_P(argi) = index; INIT_PZVAL(argi); zend_hash_update(&EG(symbol_table), "argi", sizeof("argi"), &argi, sizeof(zval *), NULL); - while (exit_status == SUCCESS && (input=php_stream_gets(s_in_process, NULL, 0)) != NULL) { + while (exit_status == SUCCESS && (input=php_stream_gets(s_in_process, NULL_ZSTR, 0)) != NULL) { len = strlen(input); while (len-- && (input[len]=='\n' || input[len]=='\r')) { input[len] = '\0'; -- cgit v1.2.1