diff options
author | turret <turret@duck.com> | 2023-12-18 16:13:36 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2023-12-18 16:13:36 -0600 |
commit | 54b308af97b91ceabb0a482f325d3a8595b01aa3 (patch) | |
tree | adbe345bca29943f02f54c86dc1ec17d5aa3528a /net/api.c | |
parent | 22cacb4dc96faae8814a9696805314c0fcc455ba (diff) | |
download | discord-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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |