aboutsummaryrefslogtreecommitdiffstats
path: root/net/api.c
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-12-18 16:13:36 -0600
committerturret <turret@duck.com>2023-12-18 16:13:36 -0600
commit54b308af97b91ceabb0a482f325d3a8595b01aa3 (patch)
treeadbe345bca29943f02f54c86dc1ec17d5aa3528a /net/api.c
parent22cacb4dc96faae8814a9696805314c0fcc455ba (diff)
downloaddiscord-bot-skeleton-54b308af97b91ceabb0a482f325d3a8595b01aa3.tar.gz
discord-bot-skeleton-54b308af97b91ceabb0a482f325d3a8595b01aa3.tar.bz2
discord-bot-skeleton-54b308af97b91ceabb0a482f325d3a8595b01aa3.zip
*: enforce 78 char line limit
Diffstat (limited to 'net/api.c')
-rw-r--r--net/api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/api.c b/net/api.c
index e664c42..9da0e8e 100644
--- a/net/api.c
+++ b/net/api.c
@@ -26,7 +26,8 @@ int http_get(char *url)
curl_easy_setopt(job, CURLOPT_URL, url);
curl_easy_setopt(job, CURLOPT_WRITEDATA, write_end);
- curl_easy_setopt(job, CURLOPT_HTTPHEADER, curl_slist_append(NULL, token));
+ curl_easy_setopt(job, CURLOPT_HTTPHEADER,
+ curl_slist_append(NULL, token));
CURLcode res = curl_easy_perform(job);
if(res > 0) {