diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-09-24 22:39:59 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-09-24 22:39:59 +0300 |
commit | ad4fa8f75810facff8bea509249a735232235443 (patch) | |
tree | 13b4b2f3df2a2df85a8d3b9702024ac8213f37a7 /ext/imap/php_imap.c | |
parent | abf6a0b376b42e0ce60da039b11c6fdf994431fb (diff) | |
download | php-git-ad4fa8f75810facff8bea509249a735232235443.tar.gz |
Fixed incorrect usage of HASH_OF() macro. Replaced HASH_OF() with more appropriate Z_ARRVAL_P() or Z_OBJPROP_P().
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 841143f5b3..cbb8680676 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -1167,7 +1167,7 @@ static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) if (params) { zval *disabled_auth_method; - if ((disabled_auth_method = zend_hash_str_find(HASH_OF(params), "DISABLE_AUTHENTICATOR", sizeof("DISABLE_AUTHENTICATOR") - 1)) != NULL) { + if ((disabled_auth_method = zend_hash_str_find(Z_ARRVAL_P(params), "DISABLE_AUTHENTICATOR", sizeof("DISABLE_AUTHENTICATOR") - 1)) != NULL) { switch (Z_TYPE_P(disabled_auth_method)) { case IS_STRING: if (Z_STRLEN_P(disabled_auth_method) > 1) { |