mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-12-25 17:11:45 +00:00
Connections to dead domain names fixed.
This commit is contained in:
parent
4db94ee7c8
commit
d0474fab02
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user