mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +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();
|
Activity += buffer->size();
|
||||||
return buffer->size();
|
return buffer->size();
|
||||||
} else {
|
} else {
|
||||||
|
if (gMode == 1 && res == 6) return - 2;
|
||||||
if (res != 28 &&
|
if (res != 28 &&
|
||||||
res != 6 &&
|
res != 6 &&
|
||||||
res != 7 &&
|
res != 7 &&
|
||||||
@ -256,7 +257,7 @@ int Connector::_ConnectToPort(char* ip, int port)
|
|||||||
++Alive;
|
++Alive;
|
||||||
Lexems lx;
|
Lexems lx;
|
||||||
lx._filler(port, buffer.c_str(), ip, size, &lx);
|
lx._filler(port, buffer.c_str(), ip, size, &lx);
|
||||||
};
|
}
|
||||||
|
else if (size == -2) return -2;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user