summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-09-03 16:21:57 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-09-03 16:21:57 +0800
commit4f1ff2cfa54ee406067ffb4613feae852a5ea357 (patch)
treefaf7b0fe6ecaea072acfb223af062c5e009c373e
parentf4f2546bad4ad3bffb2ffe8f561445c81dd2fda5 (diff)
Enabled the cookie engine
-rw-r--r--rtclient.c1
1 files changed, 1 insertions, 0 deletions
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