From 0af7355eedcc606eba844122a933005f6ca0a1ac Mon Sep 17 00:00:00 2001 From: ZelenkinaKM Date: Sun, 19 May 2024 00:31:22 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=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 | 4 ++++ 1 file changed, 4 insertions(+) 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<