diff --git a/Connector.cpp b/Connector.cpp index f81fc7f..b624985 100644 --- a/Connector.cpp +++ b/Connector.cpp @@ -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)); }