Browse Source

init SimpleClient member _ai

Alexei Pastuchov 7 years ago
parent
commit
db850ec292
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libtest/client.cc

+ 2 - 1
libtest/client.cc

@@ -62,7 +62,8 @@ SimpleClient::SimpleClient(const std::string& hostname_, in_port_t port_) :
   _error_line(0),
   requested_message(1),
   _ctx_ssl(NULL),
-  _ssl(NULL)
+  _ssl(NULL),
+  _ai{nullptr}
 {
   if (is_ssl())
   {