Connections to dead domain names fixed.

This commit is contained in:
cora32 2015-04-03 21:50:54 +03:00
parent 4db94ee7c8
commit d0474fab02

View File

@ -185,6 +185,7 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
Activity += buffer->size();
return buffer->size();
} else {
if (gMode == 1 && res == 6) return - 2;
if (res != 28 &&
res != 6 &&
res != 7 &&
@ -256,7 +257,7 @@ int Connector::_ConnectToPort(char* ip, int port)
++Alive;
Lexems lx;
lx._filler(port, buffer.c_str(), ip, size, &lx);
};
}
else if (size == -2) return -2;
return 0;
}