reformat all files
This commit is contained in:
parent
f69b73187e
commit
54fa7bb7d0
@ -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};
|
||||
|
@ -14,8 +14,7 @@
|
||||
const char* created; \
|
||||
const char* modified;
|
||||
|
||||
struct yadisk_resource_item
|
||||
{
|
||||
struct yadisk_resource_item {
|
||||
YADISK_RESOURCE_ITEM_PROPERTIES
|
||||
};
|
||||
|
||||
|
@ -5,7 +5,8 @@
|
||||
#include <yadisk.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
int main()
|
||||
{
|
||||
char token[1024];
|
||||
|
||||
printf("Enter OAuth token: ");
|
||||
|
Loading…
Reference in New Issue
Block a user