From 71e1c7fc557e68743c4a8028b2d6675639be16cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 17 Jun 2021 21:46:39 +0800 Subject: Make login functions asynchronous compatible --- request.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'request.h') 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; -- cgit v1.2.3