reformat all files

This commit is contained in:
Maxim Slipenko 2023-11-29 14:00:52 +03:00
parent f69b73187e
commit 54fa7bb7d0
4 changed files with 31 additions and 29 deletions

View File

@ -36,7 +36,8 @@ static size_t cb(void *data, size_t size, size_t nmemb, void *clientp)
return realsize;
}
char* build_query_string(query_param *params, size_t num_params) {
char* build_query_string(query_param* params, size_t num_params)
{
CURL* curl = curl_easy_init();
if (!curl) {
return NULL;
@ -79,7 +80,8 @@ int api_http_request(
query_param* params,
size_t num_params,
char** output
) {
)
{
CURL* curl;
CURLcode res;
struct memory chunk = {0};

View File

@ -14,8 +14,7 @@
const char* created; \
const char* modified;
struct yadisk_resource_item
{
struct yadisk_resource_item {
YADISK_RESOURCE_ITEM_PROPERTIES
};

View File

@ -5,7 +5,8 @@
#include <yadisk.h>
#include <stdio.h>
int main() {
int main()
{
char token[1024];
printf("Enter OAuth token: ");