summaryrefslogtreecommitdiff
path: root/request.h
diff options
context:
space:
mode:
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