|
|
@ -67,6 +67,10 @@ int main(int argc, char* argv[])
|
|
|
|
curl_easy_setopt(curl, CURLOPT_URL, argv[0]);
|
|
|
|
curl_easy_setopt(curl, CURLOPT_URL, argv[0]);
|
|
|
|
res = curl_easy_perform(curl);
|
|
|
|
res = curl_easy_perform(curl);
|
|
|
|
curl_easy_cleanup(curl);
|
|
|
|
curl_easy_cleanup(curl);
|
|
|
|
|
|
|
|
if (res!=0){
|
|
|
|
|
|
|
|
cout<<res;
|
|
|
|
|
|
|
|
exit(1);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|