From 7c6b7674ce141299c655e65cd0bb2605c84f1df5 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: Mon, 13 Mar 2023 15:24:28 +0800 Subject: nextpage default is login --- member.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'member.c') diff --git a/member.c b/member.c index 90805a2..8a6dbc8 100644 --- a/member.c +++ b/member.c @@ -16,8 +16,8 @@ void interchange_member_login(const char *username, const char *password, void (*handler)(interchange_response *), void (*callback)(struct interchange_member *)) { - login(username, password, NULL, "Login", nextpage, failpage, handler, - (void (*)(void *))callback); + login(username, password, NULL, "Login", nextpage ? nextpage : "login", + failpage, handler, (void (*)(void *))callback); } void interchange_member_account(void (*handler)(interchange_response *)) -- cgit v1.2.3