handle without port ip address validation

This commit is contained in:
Nidhi Agarwal 2019-11-21 13:57:03 +05:30
parent 6c49085347
commit 443b2954e4

View File

@ -62,7 +62,7 @@ public:
return false;
}
const char* host = "";
const char* host = mAddr;
const char* port = strrchr(mAddr, ':');
if (port) {
std::string tmp;