- typo s/ARES_OPT_SERVERS/ARES_OPT_DOMAINS/
[m6w6/ext-ares] / ares.c
diff --git a/ares.c b/ares.c
index 6f0342b6e5340c02f97298a52ffed2a73d34e4af..2fb40a3f1d8fd3e2b371dcf359804b25b2c466c6 100644 (file)
--- 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)) {