summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 08:24:42 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 08:24:42 +0000
commitc43806f4152c3ff908c7ead039daf5e163700f0e (patch)
tree8e6eb9e2aef084f04a7bfeb7269dd4d5186ac0c4 /ext/readline
parent4187439cfffdbb2573453ea41a3c344632405f47 (diff)
downloadphp-git-c43806f4152c3ff908c7ead039daf5e163700f0e.tar.gz
Zend compatibility patch
Diffstat (limited to 'ext/readline')
-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 2c9e955e4f..560eec8e0b 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -394,7 +394,7 @@ static char **_readline_completion_cb(char *text, int start, int end)
params[2]=_readline_long_zval(start);
params[3]=_readline_long_zval(end);
- if (call_user_function(CG(function_table), NULL, params[0], &_readline_array, 3, params+1) == SUCCESS) {
+ if (call_user_function(CG(function_table), NULL, params[0], &_readline_array, 3, params+1 TSRMLS_CC) == SUCCESS) {
if (_readline_array.type == IS_ARRAY) {
matches = completion_matches(text,_readline_command_generator);
}