summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
authorFrank M. Kromann <fmk@php.net>2006-04-29 14:53:26 +0000
committerFrank M. Kromann <fmk@php.net>2006-04-29 14:53:26 +0000
commit954199c9fbd0513d24d387391d20e09b24068104 (patch)
tree0d55e7b338b5c1d5164e75a87a9531c63f19deed /sapi/cli/php_cli.c
parent1c307a8a9e7874fb532fdd455e55a9aab3fe4ec9 (diff)
downloadphp-git-954199c9fbd0513d24d387391d20e09b24068104.tar.gz
More ZSTR() fixes
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c2
1 files changed, 1 insertions, 1 deletions
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';