From 3f5ece56ba0aa55be5c6a7973866ffda432de1ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sun, 12 Jul 2020 20:08:31 +0800 Subject: login functions return users --- request.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'request.h') diff --git a/request.h b/request.h index 68411d9..1d15b6a 100644 --- a/request.h +++ b/request.h @@ -12,8 +12,8 @@ extern CURL *curl; extern char *server_url; -inline void request(size_t (*writefunction)(void *, size_t, size_t, void *) - , void *writedata, struct curl_httppost *post, char *fmt, ...) +inline void request(size_t (*writefunction)(void *, size_t, size_t, void *), + void *writedata, struct curl_httppost *post, char *fmt, ...) { va_list ap; char *p, *sval; @@ -83,8 +83,8 @@ inline void request(size_t (*writefunction)(void *, size_t, size_t, void *) if (res != CURLE_OK) { const char *error = curl_easy_strerror(res); #ifdef ANDROID - __android_log_print(ANDROID_LOG_ERROR, "libicclient", "%s: %s" - , __func__, error); + __android_log_print(ANDROID_LOG_ERROR, "libicclient", "%s: %s", __func__, + error); #else fprintf(stderr, "%s: %s\n", __func__, error); #endif // ANDROID -- cgit v1.2.3