X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-ares;a=blobdiff_plain;f=ares.c;h=2fb40a3f1d8fd3e2b371dcf359804b25b2c466c6;hp=6f0342b6e5340c02f97298a52ffed2a73d34e4af;hb=85d6e849c929e94dd5c7a70693ad182cc4c3ed64;hpb=1d8a6d087b9398cc03fc445d9698f6874e6e1176 diff --git a/ares.c b/ares.c index 6f0342b..2fb40a3 100644 --- a/ares.c +++ b/ares.c @@ -456,7 +456,7 @@ local php_ares_options *php_ares_options_ctor(php_ares_options *options, HashTab } } if (options->strct.ndomains) { - options->flags |= ARES_OPT_SERVERS; + options->flags |= ARES_OPT_DOMAINS; } } if ((SUCCESS == zend_hash_find(ht, "lookups", sizeof("lookups"), (void *) &opt)) && (Z_TYPE_PP(opt) == IS_STRING)) {