This commit is contained in:
cora32 2016-01-07 03:21:40 +03:00
parent 80795af937
commit ea4dd26689

View File

@ -414,10 +414,10 @@ bool portCheck(const char * sDVRIP, int wDVRPort) {
} }
int Connector::connectToPort(char* ip, int port) int Connector::connectToPort(char* ip, int port)
{ {
if(gPingNScan) //if(gPingNScan)
{ //{
if(_pingMyTarget(ip) == 0) return -2; // if(_pingMyTarget(ip) == 0) return -2;
}; //};
std::string buffer; std::string buffer;
int size = 0; int size = 0;