diff options
-rw-r--r-- | interchange/member.h | 2 | ||||
-rw-r--r-- | member.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/interchange/member.h b/interchange/member.h index a8d5262..e4aad8d 100644 --- a/interchange/member.h +++ b/interchange/member.h @@ -64,7 +64,7 @@ extern "C" { #endif void interchange_member_newaccount(const char *username, const char *password, - const char *verify, const char *failpage, + const char *verify, const char *nextpage, const char *failpage, void (*handler)(interchange_response *), void (*callback)(struct interchange_member *)); void interchange_member_login(const char *username, const char *password, @@ -3,11 +3,12 @@ #include "interchange/member.h" void interchange_member_newaccount(const char *username, const char *password, - const char *verify, const char *failpage, + const char *verify, const char *nextpage, const char *failpage, void (*handler)(interchange_response *), void (*callback)(struct interchange_member *)) { - login(username, password, verify, "NewAccount", NULL, failpage, handler, + login(username, password, verify, "NewAccount", + nextpage ? nextpage : "new_account", failpage, handler, (void (*)(void *))callback); } |