mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
Added Curl error 18 message.
This commit is contained in:
parent
4c8c4c557a
commit
99dc6f8162
@ -325,11 +325,11 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
|
|||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
else if (res == 13) {
|
else if (res == 13) {
|
||||||
stt->doEmitionFoundData("Unknown ftp: (" + QString::number(res) + ") " +
|
stt->doEmitionFoundData("Unknown ftp. (" + QString::number(res) + ") " +
|
||||||
QString(ip) + ":" + QString::number(port));
|
QString(ip) + ":" + QString::number(port));
|
||||||
return -2;
|
return -2;
|
||||||
} else if (res == 8) {
|
} else if (res == 8) {
|
||||||
stt->doEmitionFoundData("Strange ftp reply: (" +
|
stt->doEmitionFoundData("Strange ftp repl. (" +
|
||||||
QString::number(res) + ") " + QString(ip) +
|
QString::number(res) + ") " + QString(ip) +
|
||||||
":" + QString::number(port));
|
":" + QString::number(port));
|
||||||
return -2;
|
return -2;
|
||||||
@ -340,6 +340,12 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
|
|||||||
":" + QString::number(port));
|
":" + QString::number(port));
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
else if (res == 18) {
|
||||||
|
stt->doEmitionFoundData("Inappropriate file size. (" +
|
||||||
|
QString::number(res) + ") " + QString(ip) +
|
||||||
|
":" + QString::number(port));
|
||||||
|
return -2;
|
||||||
|
}
|
||||||
else stt->doEmitionRedFoundData("CURL error: (" + QString::number(res) + ") " +
|
else stt->doEmitionRedFoundData("CURL error: (" + QString::number(res) + ") " +
|
||||||
QString(ip) + ":" + QString::number(port));
|
QString(ip) + ":" + QString::number(port));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user