diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 19:20:02 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 19:20:02 +0000 |
commit | b566ad5d1bac701877364a5996094bd37beb4b44 (patch) | |
tree | 9172bdeb1140c90888cb928f657d5484fa7319b2 /ext/zip/zip.c | |
parent | 9d02c2bd5647c2f2ebb7071d51141469abd3f8cf (diff) | |
download | php-git-b566ad5d1bac701877364a5996094bd37beb4b44.tar.gz |
Changed php_error to php_error_docref.
Diffstat (limited to 'ext/zip/zip.c')
-rw-r--r-- | ext/zip/zip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/zip/zip.c b/ext/zip/zip.c index df36225471..0ae0454ba6 100644 --- a/ext/zip/zip.c +++ b/ext/zip/zip.c @@ -142,8 +142,7 @@ PHP_FUNCTION(zip_open) archive_p = zzip_opendir(filename); if (archive_p == NULL) { - php_error(E_WARNING, "%s() Cannot open zip archive %s", - get_active_function_name(TSRMLS_C), filename); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot open zip archive %s", filename); RETURN_FALSE; } |