From 143f5b64f187497af728a6d921c599dcc99ed807 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: Sun, 13 Jun 2021 15:41:54 +0800 Subject: Fix the way libcurl has been used --- login.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'login.h') diff --git a/login.h b/login.h index c11b634..9ef34f2 100644 --- a/login.h +++ b/login.h @@ -4,9 +4,9 @@ #include "request.h" inline void login(const char *username, const char *password, const char *verify, const char *click, - const char *successpage, const char *nextpage, const char *failpage, icclient_handler handler, void *user) + const char *successpage, const char *nextpage, const char *failpage, void (*handler)(icclient_fetch_t *), void *user) { - request(handler, user, &(struct icclient_request_data){ 7, { + request(handler, user, &(struct body){ 7, { { "mv_username", username }, { "mv_password", password }, { "mv_verify", verify }, -- cgit v1.2.3