DNSLookup: copy hostname and port instead of accessing member
This commit is contained in:
@ -43,7 +43,7 @@ namespace ix
|
||||
int port,
|
||||
std::string& errMsg);
|
||||
|
||||
void run(); // thread runner
|
||||
void run(const std::string& hostname, int port); // thread runner
|
||||
|
||||
std::string _hostname;
|
||||
int _port;
|
||||
|
Reference in New Issue
Block a user