From 7c7f2a0c5aa15419325556444184ad24d62ba870 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Fri, 1 Aug 2014 21:33:34 +0200 Subject: [PATCH] separate options array --- php_ares.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php_ares.c b/php_ares.c index ee6defa..c60ce4f 100644 --- a/php_ares.c +++ b/php_ares.c @@ -1093,7 +1093,7 @@ static PHP_FUNCTION(ares_init) php_ares *ares = NULL; int err; - if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a!", &opt_array)) { + if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|a/!", &opt_array)) { RETURN_FALSE; } -- 2.30.2