style: break long line

This commit is contained in:
AngeD 2023-06-22 14:48:26 +02:00
parent 0684500513
commit b9c6d533c2

View File

@ -1,7 +1,6 @@
#include <curl/curl.h>
#include <errno.h>
#include <error.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
@ -29,7 +28,9 @@ static size_t write_callback(char *response, size_t s, size_t n, void *buf)
static char *build_url(void)
{
const char base[] = "https://api.coingecko.com/api/v3/simple/price?ids=%s&vs_currencies=" VS;
const char base[] =
"https://api.coingecko.com/api/v3/simple/price?ids=%s&vs_currencies="
VS;
size_t ids_size = 0;
char *url;
char ids[BUF_SIZE] = {0};