]> granicus.if.org Git - php/commitdiff
- MFH: Fixed duplicate errmsg
authorFelipe Pena <felipe@php.net>
Wed, 7 Jan 2009 18:26:27 +0000 (18:26 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 7 Jan 2009 18:26:27 +0000 (18:26 +0000)
ext/imap/php_imap.c

index 5daeda3c2cdf06c9ff7c80b2835d333cdaa13448..22170637e833b2405d37f7815b2c2a1b471263cd 100644 (file)
@@ -1212,7 +1212,7 @@ PHP_FUNCTION(imap_reopen)
        int argc = ZEND_NUM_ARGS();
 
        if (zend_parse_parameters(argc TSRMLS_CC, "rs|ll", &streamind, &mailbox, &mailbox_len, &options, &retries) == FAILURE) {
-               ZEND_WRONG_PARAM_COUNT();
+               return;
        }
 
        ZEND_FETCH_RESOURCE(imap_le_struct, pils *, &streamind, -1, "imap", le_imap);