aboutsummaryrefslogtreecommitdiffstats
path: root/net/api.c
diff options
context:
space:
mode:
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) {