diff options
author | Felipe Pena <felipe@php.net> | 2011-08-06 00:59:21 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-08-06 00:59:21 +0000 |
commit | 65e381ba1dce9ab00a2396775c2f3b69729ab02b (patch) | |
tree | ee70ba5211f3f2618b318db45205bcfdf2b3990b | |
parent | c9342c81d68543d3d4ae6bb3c60d7e3cba267559 (diff) | |
download | php-git-65e381ba1dce9ab00a2396775c2f3b69729ab02b.tar.gz |
- Fixed bug #55313 (Number of retries not set when params specified)
patch by: kevin at kevinlocke dot name
-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 9c0ed32dd9..a0b52ed243 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -1227,7 +1227,7 @@ static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) IMAPG(imap_password) = estrndup(passwd, passwd_len); #ifdef SET_MAXLOGINTRIALS - if (argc == 5) { + if (argc >= 5) { if (retries < 0) { php_error_docref(NULL TSRMLS_CC, E_WARNING ,"Retries must be greater or equal to 0"); } else { |