Fix a build issue when compiling without cares

This commit is contained in:
Florent Le Coz
2015-10-26 20:01:57 +01:00
parent e43ca29e94
commit 0fcba76c79
2 changed files with 5 additions and 3 deletions
+3 -3
View File
@@ -66,12 +66,12 @@ public:
#ifdef CARES_FOUND
this->resolved6 = false;
this->resolved4 = false;
#endif
this->resolved = false;
this->resolving = false;
this->addr.reset();
this->cares_addrinfo = nullptr;
this->port.clear();
#endif
this->resolved = false;
this->addr.reset();
this->error_msg.clear();
}