]> granicus.if.org Git - php/commitdiff
Fix random crashes
authorZeev Suraski <zeev@php.net>
Tue, 11 Feb 2003 13:46:30 +0000 (13:46 +0000)
committerZeev Suraski <zeev@php.net>
Tue, 11 Feb 2003 13:46:30 +0000 (13:46 +0000)
ext/rpc/rpc.c

index 6955d8b545c9544c7a6dd379f5122d1aa2187cf2..a9e361c93f8d4c8f7c5324b5284545eae16ccc1b 100644 (file)
@@ -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);