summaryrefslogtreecommitdiffstats
path: root/php-5.4.7-imap.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-10-01 15:19:32 +0200
committerRemi Collet <fedora@famillecollet.com>2012-10-01 15:19:32 +0200
commitb735e2b3405e6d67de7f5f02cc52a3b29397d605 (patch)
treed0729095dc248dcaa16e1b6791db6554d2d8c7fd /php-5.4.7-imap.patch
parent7f2986bfba8e2e4cd5c1f5b17d558e048b7bf023 (diff)
php 5.4: sync with rawhide
Diffstat (limited to 'php-5.4.7-imap.patch')
-rw-r--r--php-5.4.7-imap.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-5.4.7-imap.patch b/php-5.4.7-imap.patch
new file mode 100644
index 0000000..d37d05c
--- /dev/null
+++ b/php-5.4.7-imap.patch
@@ -0,0 +1,11 @@
+--- php-5.4.7/ext/imap/php_imap.c.orig 2012-09-22 09:00:39.661043173 +0200
++++ php-5.4.7/ext/imap/php_imap.c 2012-09-22 09:01:13.606053829 +0200
+@@ -1191,7 +1191,7 @@
+ if (zend_hash_index_find(Z_ARRVAL_PP(disabled_auth_method), i, (void **) &z_auth_method) == SUCCESS) {
+ if (Z_TYPE_PP(z_auth_method) == IS_STRING) {
+ if (Z_STRLEN_PP(z_auth_method) > 1) {
+- mail_parameters (NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_PP(disabled_auth_method));
++ mail_parameters (NIL, DISABLE_AUTHENTICATOR, (void *)Z_STRVAL_PP(z_auth_method));
+ }
+ } else {
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid argument, expect string or array of strings");