summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--member.c4
1 files changed, 2 insertions, 2 deletions
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 *))