summaryrefslogtreecommitdiff
path: root/louloulibs/network/resolver.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/resolver.hpp')
-rw-r--r--louloulibs/network/resolver.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/louloulibs/network/resolver.hpp b/louloulibs/network/resolver.hpp
index 511afd2..f9e9134 100644
--- a/louloulibs/network/resolver.hpp
+++ b/louloulibs/network/resolver.hpp
@@ -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();
}