diff --git a/main.cpp b/main.cpp index 43ff373..caf385e 100644 --- a/main.cpp +++ b/main.cpp @@ -67,6 +67,10 @@ int main(int argc, char* argv[]) curl_easy_setopt(curl, CURLOPT_URL, argv[0]); res = curl_easy_perform(curl); curl_easy_cleanup(curl); + if (res!=0){ + cout<