summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-20 08:42:20 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-20 08:42:20 +0800
commit9766320dd79307fcb7cf6a4154a012d529387424 (patch)
treed3b2b421ff6a746fd5580542a4370fcb3aa95c99
parent48247900f53f3668f2eb28f9a74c99ffdf65b837 (diff)
No more cURL verbose when getting access token
-rw-r--r--request.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/request.h b/request.h
index c782c38..720aad4 100644
--- a/request.h
+++ b/request.h
@@ -39,9 +39,6 @@ static inline void request_gettoken(const char *host, const char *key,
curl_easy_setopt(curl, CURLOPT_POSTFIELDS, post);
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, append);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, json);
-#ifdef DEBUG
- curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
-#endif
curl_easy_perform(curl);
curl_easy_cleanup(curl);
}