diff --git a/lib/gui_rpc_client.cpp b/lib/gui_rpc_client.cpp index 10953d53d6..d37cfa1c80 100644 --- a/lib/gui_rpc_client.cpp +++ b/lib/gui_rpc_client.cpp @@ -60,6 +60,10 @@ using std::vector; RPC_CLIENT::RPC_CLIENT() { sock = -1; + start_time = 0; + timeout = 0; + retry = 0; + memset(&addr, 0, sizeof(addr)); } RPC_CLIENT::~RPC_CLIENT() {