summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorsijanec <anton@sijanec.eu>2021-03-18 14:18:29 +0100
committersijanec <anton@sijanec.eu>2021-03-18 14:18:29 +0100
commit59004bab38044f694853188d537b2fc545abeb0b (patch)
treea6a63a58c160f0250591694efdd59d939a33ca12 /src/main.c
parentveč napisanega, manj delujočega (: (diff)
downloaddiscord.c-59004bab38044f694853188d537b2fc545abeb0b.tar
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.gz
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.bz2
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.lz
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.xz
discord.c-59004bab38044f694853188d537b2fc545abeb0b.tar.zst
discord.c-59004bab38044f694853188d537b2fc545abeb0b.zip
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 0 insertions, 2 deletions
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 <ui.c>
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;
}