diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2006-11-06 16:44:03 +0000 | 
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2006-11-06 16:44:03 +0000 | 
| commit | 5cc7f616c9e50a2fe998fce58bc80d9c17faee1d (patch) | |
| tree | 27971bdc2868472adfc8eaf76de87c3c83fc9967 /ext/imap/php_imap.c | |
| parent | 7b8f30adcbbfe39ac44514415d82af91dcbaa98c (diff) | |
| download | php-git-5cc7f616c9e50a2fe998fce58bc80d9c17faee1d.tar.gz | |
param parsing fix
# Thanks Hannes
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 52153240f1..c6c3910f7d 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -743,7 +743,7 @@ static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent)  	long cl_flags=NIL;  	int myargc = ZEND_NUM_ARGS(); -	if (myargc < 3 || myargc > 4 || zend_get_parameters_ex(myargc, &mailbox, &user, &passwd, &options, &retries) == FAILURE) { +	if (myargc < 3 || myargc > 5 || zend_get_parameters_ex(myargc, &mailbox, &user, &passwd, &options, &retries) == FAILURE) {  		ZEND_WRONG_PARAM_COUNT();  	}  | 
