com php-src: Remove more unecessaries percent signs: ext/zip/php_zip.c
| From: | Gabriel Caruso | Date: | Wed, 08 Aug 2018 11:24:00 +0000 |
| Subject: | com php-src: Remove more unecessaries percent signs: ext/zip/php_zip.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-102852@lists.php.net to get a copy of this message | ||
Commit: 953e28a92c35b81f768ae08451f6e9da6b168e51
Author: Gabriel Caruso <carusogabriel34@gmail.com> Sun, 5 Aug 2018 20:18:02 -0300
Parents: f47cdd1ee0246b1d594de9ec29ce12c5279bc421
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=953e28a92c35b81f768ae08451f6e9da6b168e51
Log:
Remove more unecessaries percent signs
Follwing dae65a89
Changed paths:
M ext/zip/php_zip.c
Diff:
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 4fedaba..09a7d3a 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -1030,7 +1030,7 @@ static void php_zip_object_free_storage(zend_object *object) /* {{{ */
if (intern->za) {
if (zip_close(intern->za) != 0) {
#if LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR == 3 && LIBZIP_VERSION_MICRO
== 1
- php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context: %s",
"zip_close have failed");
+ php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context: zip_close have
failed");
#else
php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context: %s",
zip_strerror(intern->za));
zip_discard(intern->za);
@@ -1543,7 +1543,7 @@ static ZIPARCHIVE_METHOD(close)
if ((err = zip_close(intern))) {
#if LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR == 3 && LIBZIP_VERSION_MICRO
== 1
- php_error_docref(NULL, E_WARNING, "%s", "zip_close have failed");
+ php_error_docref(NULL, E_WARNING, "zip_close have failed");
#else
php_error_docref(NULL, E_WARNING, "%s", zip_strerror(intern));
zip_discard(intern);