summaryrefslogtreecommitdiff
path: root/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'admin.c')
-rw-r--r--admin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/admin.c b/admin.c
index a334f3b..b06a751 100644
--- a/admin.c
+++ b/admin.c
@@ -5,15 +5,13 @@
typedef struct icclient_admin icclient_admin;
-icclient_admin *icclient_admin_login(const char *username, const char *password,
- const char *successpage, const char *nextpage, const char *failpage,
- void (*handler)(icclient_fetch_t *))
+icclient_admin *icclient_admin_login(const char *username, const char *password, void (*handler)(icclient_fetch_t *))
{
icclient_admin *admin = malloc(sizeof(icclient_admin));
admin->name = NULL;
admin->username = NULL;
admin->super = false;
- login(username, password, NULL, "MMLogin", successpage, nextpage, failpage, handler, admin);
+ login(username, password, NULL, "MMLogin", handler, admin);
return admin;
}