diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-12 20:08:31 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2020-07-12 20:08:31 +0800 |
commit | 3f5ece56ba0aa55be5c6a7973866ffda432de1ce (patch) | |
tree | d7db0fbe47dd7f6deecd55b829430e111ed88569 /request.h | |
parent | f2cdda353b0da0ec19679ac8753fbe2d17471fd9 (diff) |
login functions return users
Diffstat (limited to 'request.h')
-rw-r--r-- | request.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |