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 | 7c1cb2693732ba37e301dac9b93bb511c00abac4 (patch) | |
tree | 92ed46b23b8b9bb15ffbb69e03cd5fc73c521bb6 /ext/imap/php_imap.c | |
parent | f7e07ae69b94bc5a735b7be8234b37d7d2fb338d (diff) | |
download | php-git-7c1cb2693732ba37e301dac9b93bb511c00abac4.tar.gz |
- Fixed bug #55313 (Number of retries not set when params specified)
patch by: kevin at kevinlocke dot name
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 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 { |