- fix parameter parsing options

This commit is contained in:
Pierre Joye 2009-01-07 12:59:17 +00:00
parent 2dcc8c0393
commit 10367ae921

View file

@ -299,7 +299,7 @@ PHP_FUNCTION(dns_get_record)
int addtl_recs = 0;
IN_ADDR ipaddr;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lz!z!", &hostname, &hostname_len, &type_param, &authns, &addtl) == FAILURE) {
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzz", &hostname, &hostname_len, &type_param, &authns, &addtl) == FAILURE) {
return;
}