summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-17 11:44:57 +0000
committerMarcus Boerger <helly@php.net>2003-05-17 11:44:57 +0000
commitbe7b80dcbaf9346517758349a2edfd121a872115 (patch)
tree8b4ee28a97908cf56608fdd25942b3c237e95121
parent84fc3f384aac2b463025b0668aeb417cfd4f81ca (diff)
downloadphp-git-be7b80dcbaf9346517758349a2edfd121a872115.tar.gz
TSRM fix
-rw-r--r--ext/wddx/wddx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/wddx/wddx.c b/ext/wddx/wddx.c
index 95c437cbaa..7d0151ca8f 100644
--- a/ext/wddx/wddx.c
+++ b/ext/wddx/wddx.c
@@ -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;
}