summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2009-01-22 14:40:20 +0000
committerIlia Alshanetsky <iliaa@php.net>2009-01-22 14:40:20 +0000
commitea61c335e45fd2ccd8dd46dbe08a210987ec997e (patch)
treeaa1d0496d4350fbcf8cd695dd84985cce6a452c3
parent163fedcd616c3dceede19d1cc4ad50f05026a577 (diff)
downloadphp-git-ea61c335e45fd2ccd8dd46dbe08a210987ec997e.tar.gz
Fixed execution condition
-rw-r--r--ext/readline/readline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 14598f007e..f27ce606ac 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -225,7 +225,7 @@ PHP_FUNCTION(readline_info)
return;
}
- if (what) {
+ if (!what) {
array_init(return_value);
add_assoc_string(return_value,"line_buffer",SAFE_STRING(rl_line_buffer),1);
add_assoc_long(return_value,"point",rl_point);