Added Curl error 18 message.

This commit is contained in:
cora32 2015-03-22 14:05:58 +03:00
parent 31dbbabf96
commit fcacfafb98

View File

@ -325,11 +325,11 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
return -2;
}
else if (res == 13) {
stt->doEmitionFoundData("Unknown ftp: (" + QString::number(res) + ") " +
stt->doEmitionFoundData("Unknown ftp. (" + QString::number(res) + ") " +
QString(ip) + ":" + QString::number(port));
return -2;
} else if (res == 8) {
stt->doEmitionFoundData("Strange ftp reply: (" +
stt->doEmitionFoundData("Strange ftp repl. (" +
QString::number(res) + ") " + QString(ip) +
":" + QString::number(port));
return -2;
@ -340,6 +340,12 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
":" + QString::number(port));
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) + ") " +
QString(ip) + ":" + QString::number(port));
}