Update connector.cpp
This commit is contained in:
parent
e52dbd3705
commit
4aa0aedd61
@ -72,7 +72,7 @@ int Connector::Connect(const char* srv_addr, std::string name) {
|
|||||||
//using namespace std::chrono_literals;
|
//using namespace std::chrono_literals;
|
||||||
//std::this_thread::sleep_for(100ms);
|
//std::this_thread::sleep_for(100ms);
|
||||||
|
|
||||||
memset(bf.ptr, '\0', BUFFER_LENGTH);
|
//memset(bf.ptr, '\0', BUFFER_LENGTH);
|
||||||
|
|
||||||
bool ready = false;
|
bool ready = false;
|
||||||
int errors = 0;
|
int errors = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user