DNSLookup: copy hostname and port instead of accessing member

This commit is contained in:
Benjamin Sergeant
2019-01-06 18:17:12 -08:00
parent 49bc156a56
commit 911f684e4d
2 changed files with 4 additions and 4 deletions

View File

@ -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;