style: break long line
This commit is contained in:
parent
0684500513
commit
b9c6d533c2
5
crypto.c
5
crypto.c
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user