From 59004bab38044f694853188d537b2fc545abeb0b Mon Sep 17 00:00:00 2001 From: sijanec Date: Thu, 18 Mar 2021 14:18:29 +0100 Subject: finished first PoC code --- src/main.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index d9ec103..340af42 100644 --- a/src/main.c +++ b/src/main.c @@ -3,7 +3,6 @@ FILE * netreq; #include int main (int argc, char ** argv) { - curl_global_init(CURL_GLOBAL_ALL); srand(time(NULL)); netreq = fopen("netreq.log", "w"); int rs = 0; @@ -71,6 +70,5 @@ int main (int argc, char ** argv) { fclose(netreq); dc_client_free(c); if (api_ret || ui_ret); /* to hide warnings */ - curl_global_cleanup(); return rs; } -- cgit v1.2.3