summaryrefslogtreecommitdiff
path: root/ext/rpc/rpc.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2003-02-11 13:46:30 +0000
committerZeev Suraski <zeev@php.net>2003-02-11 13:46:30 +0000
commitf983e13e4e1dfa6e32848412d8b3dd89c291dfe6 (patch)
tree239362b741a01be42b33e544bb28ea94ebc8512a /ext/rpc/rpc.c
parent281450414388fe1da1c5d5b0943bdb3fbe582bdf (diff)
downloadphp-git-f983e13e4e1dfa6e32848412d8b3dd89c291dfe6.tar.gz
Fix random crashes
Diffstat (limited to 'ext/rpc/rpc.c')
-rw-r--r--ext/rpc/rpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/rpc/rpc.c b/ext/rpc/rpc.c
index 6955d8b545..a9e361c93f 100644
--- a/ext/rpc/rpc.c
+++ b/ext/rpc/rpc.c
@@ -396,6 +396,7 @@ static union _zend_function* rpc_get_method(zval *object, char *method, int meth
zif->handler = ZEND_FN(rpc_call);
zif->scope = intern->ce;
zif->type = ZEND_INTERNAL_FUNCTION;
+ zif->fn_flags = ZEND_ACC_PUBLIC;
/* add new method to the method table */
zend_ts_hash_add(&intern->function_table, method, method_len + 1, zif, sizeof(zend_function), &function);