]> granicus.if.org Git - php/commitdiff
TSRM fix
authorMarcus Boerger <helly@php.net>
Sat, 17 May 2003 11:44:57 +0000 (11:44 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 17 May 2003 11:44:57 +0000 (11:44 +0000)
ext/wddx/wddx.c

index 95c437cbaa62b38da7760b89316823b71e2a2c85..7d0151ca8f153b135651e5d38896a9655eac2b84 100644 (file)
@@ -1284,8 +1284,7 @@ PHP_FUNCTION(wddx_deserialize)
                        payload_len = php_stream_copy_to_mem(stream, &payload, PHP_STREAM_COPY_ALL, 0 TSRMLS_CC);
                }
        } else {
-               php_error(E_WARNING, "%s() expects parameter 1 to be a string or a stream",
-                                 get_active_function_name());
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expecting parameter 1 to be a string or a stream");
                return;
        }