From 4f1ff2cfa54ee406067ffb4613feae852a5ea357 Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Tue, 3 Sep 2019 16:21:57 +0800 Subject: Enabled the cookie engine --- rtclient.c | 1 + 1 file changed, 1 insertion(+) (limited to 'rtclient.c') diff --git a/rtclient.c b/rtclient.c index 4567430..59c80e6 100644 --- a/rtclient.c +++ b/rtclient.c @@ -20,6 +20,7 @@ bool rtclient_init(const char *url) handle = curl_easy_init(); if (handle) { curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1L); + curl_easy_setopt(handle, CURLOPT_COOKIEFILE, ""); #ifdef DEBUG curl_easy_setopt(handle, CURLOPT_VERBOSE, 1L); #endif // DEBUG -- cgit v1.2.3