summaryrefslogtreecommitdiff
path: root/request.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-12 20:08:31 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-07-12 20:08:31 +0800
commit3f5ece56ba0aa55be5c6a7973866ffda432de1ce (patch)
treed7db0fbe47dd7f6deecd55b829430e111ed88569 /request.h
parentf2cdda353b0da0ec19679ac8753fbe2d17471fd9 (diff)
login functions return users
Diffstat (limited to 'request.h')
-rw-r--r--request.h8
1 files changed, 4 insertions, 4 deletions
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