From 32b5f8a1a3552f48d6e91c17b6d9d441c665a44d Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Mon, 6 Jun 2011 21:28:16 +0000 Subject: - Added new parameter parsing option (p - for valid path (string without null byte in the middle)) # The tests will be fixed in the next commits --- ext/imap/php_imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/imap') diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 819ef51b6d..34fae16763 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -1153,7 +1153,7 @@ static void php_imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) zval *params = NULL; int argc = ZEND_NUM_ARGS(); - if (zend_parse_parameters(argc TSRMLS_CC, "sss|lla", &mailbox, &mailbox_len, &user, &user_len, + if (zend_parse_parameters(argc TSRMLS_CC, "pss|lla", &mailbox, &mailbox_len, &user, &user_len, &passwd, &passwd_len, &flags, &retries, ¶ms) == FAILURE) { return; } -- cgit v1.2.1