diff options
| author | Felipe Pena <felipe@php.net> | 2008-04-17 11:04:49 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-04-17 11:04:49 +0000 |
| commit | 11a13337ff60e6522a2b67cfffa836b68a5ed13e (patch) | |
| tree | 2caebf22807b863600a107bf0d5cc14594430874 | |
| parent | 8649483a6922c5d941315fa6034e5cd92609e522 (diff) | |
| download | php-git-11a13337ff60e6522a2b67cfffa836b68a5ed13e.tar.gz | |
- Fix typo
| -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 a67e78b887..99dec558eb 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -792,7 +792,7 @@ static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) #ifdef SET_MAXLOGINTRIALS if (myargc == 5) { convert_to_long_ex(retries); - if (retries < 0) { + if (Z_LVAL_PP(retries) < 0) { php_error_docref(NULL TSRMLS_CC, E_WARNING ,"Retries must be greater or equal to 0"); } else { mail_parameters(NIL, SET_MAXLOGINTRIALS, (void *) Z_LVAL_PP(retries)); |
