mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
--
This commit is contained in:
parent
a514051bfd
commit
d9b28dbcef
@ -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_FTPLISTONLY, 1L);
|
||||||
curl_easy_setopt(curl, CURLOPT_USERPWD, lpString->c_str());
|
curl_easy_setopt(curl, CURLOPT_USERPWD, lpString->c_str());
|
||||||
};
|
};
|
||||||
|
|
||||||
int res = curl_easy_perform(curl);
|
int res = curl_easy_perform(curl);
|
||||||
curl_easy_cleanup(curl);
|
curl_easy_cleanup(curl);
|
||||||
|
|
||||||
@ -185,7 +185,9 @@ int Connector::nConnect(const char* ip, const int port, std::string *buffer,
|
|||||||
res != 67 &&
|
res != 67 &&
|
||||||
res != 52 &&
|
res != 52 &&
|
||||||
res != 55 &&
|
res != 55 &&
|
||||||
res != 56) {
|
res != 56 &&
|
||||||
|
res != 35 &&
|
||||||
|
res != 19) {
|
||||||
if (res == 5) {
|
if (res == 5) {
|
||||||
stt->doEmitionRedFoundData("Couldn't resolve proxy. The given proxy host could not be resolved. ");
|
stt->doEmitionRedFoundData("Couldn't resolve proxy. The given proxy host could not be resolved. ");
|
||||||
return -2;
|
return -2;
|
||||||
|
Loading…
Reference in New Issue
Block a user