]> granicus.if.org Git - php/commitdiff
fix rpc_error call
authorWez Furlong <wez@php.net>
Mon, 10 Feb 2003 23:22:49 +0000 (23:22 +0000)
committerWez Furlong <wez@php.net>
Mon, 10 Feb 2003 23:22:49 +0000 (23:22 +0000)
ext/rpc/com/com_wrapper.c

index b7de42629237279ebd7667d9b0041c4b2f5ca5cf..1c27c4d774f335515d0acd895cef6e5b6300b32b 100644 (file)
@@ -880,7 +880,7 @@ ZEND_API int php_COM_load_typelib(ITypeLib *TypeLib, int mode)
                                        /* Oops, it already exists. No problem if it is defined as the same value */
                                        /* Check to see if they are the same */
                                        if (!compare_function(&results, &c.value, &exists TSRMLS_CC) && INI_INT("com.autoregister_verbose")) {
-                                               rpc_error(NULL TSRMLS_CC, E_WARNING, "Type library value %s is already defined and has a different value", c.name);
+                                               rpc_error(E_WARNING, "Type library value %s is already defined and has a different value", c.name);
                                        }
                                        free(c.name);
                                        j++;