From c3ce37c2dc5afcc994dd4b301434b2bbca6654bf Mon Sep 17 00:00:00 2001 From: ShestovDN Date: Wed, 7 Jun 2023 12:35:58 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.cpp b/main.cpp index 8af531f..e634cf4 100644 --- a/main.cpp +++ b/main.cpp @@ -61,6 +61,11 @@ int main(int arg, char* argv[]) curl_easy_setopt(curl,CURLOPT_URL,argv[1]); res = curl_easy_perform(curl); curl_easy_cleanup(curl); + if (res != CURE_OK) + { + cout<