This commit is contained in:
cora32 2015-04-01 19:58:12 +03:00
parent a514051bfd
commit d9b28dbcef
2 changed files with 5 additions and 3 deletions

View File

@ -170,7 +170,7 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
curl_easy_setopt(curl, CURLOPT_FTPLISTONLY, 1L);
curl_easy_setopt(curl, CURLOPT_USERPWD, lpString->c_str());
};
int res = curl_easy_perform(curl);
curl_easy_cleanup(curl);
@ -185,7 +185,9 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
res != 67 &&
res != 52 &&
res != 55 &&
res != 56) {
res != 56 &&
res != 35 &&
res != 19) {
if (res == 5) {
stt->doEmitionRedFoundData("Couldn't resolve proxy. The given proxy host could not be resolved. ");
return -2;

View File

@ -1 +1 @@
24B38-40C
24B39-75