mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-5.6'
* PHP-5.6: Fix build
This commit is contained in:
commit
a5d6cf788e
1 changed files with 2 additions and 2 deletions
|
@ -1505,8 +1505,8 @@ static ZIPARCHIVE_METHOD(close)
|
|||
|
||||
ze_obj = Z_ZIP_P(self);
|
||||
|
||||
if (err = zip_close(intern)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, zip_strerror(intern));
|
||||
if ((err = zip_close(intern))) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", zip_strerror(intern));
|
||||
zip_discard(intern);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue