summaryrefslogtreecommitdiff
path: root/request.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 21:46:39 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-17 21:46:39 +0800
commit71e1c7fc557e68743c4a8028b2d6675639be16cc (patch)
tree3003226c02ab5c3bf8527e3bbb4b6d151a2af34b /request.h
parent0ca65138cf02d6c46e1857e911a142d08cdad761 (diff)
Make login functions asynchronous compatible
Diffstat (limited to 'request.h')
-rw-r--r--request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/request.h b/request.h
index 1327ef3..64d6974 100644
--- a/request.h
+++ b/request.h
@@ -44,7 +44,7 @@ static inline void init(const char *certificate)
#endif
}
-static inline void request(void (*handler)(icclient_fetch_t *), void *callback, struct body *body, char *fmt, ...)
+static inline void request(void (*handler)(icclient_fetch_t *), void (*callback)(void *), struct body *body, char *fmt, ...)
{
va_list ap;
char *p, *sval;