RISC OS: gui_401login_open returns nserror now.

This commit is contained in:
Michael Drake 2018-08-15 08:40:39 +01:00
parent cf17ecbbc7
commit cd0309fa83
2 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,7 @@ void ro_gui_401login_init(void)
/**
* Open the login dialog
*/
void gui_401login_open(nsurl *url, const char *realm,
nserror gui_401login_open(nsurl *url, const char *realm,
const char *username, const char *password,
nserror (*cb)(const char *username,
const char *password,
@ -90,6 +90,8 @@ void gui_401login_open(nsurl *url, const char *realm,
ro_gui_401login_open(url, host, realm, username, password, cb, cbpw);
lwc_string_unref(host);
return NSERROR_OK;
}

View File

@ -136,7 +136,7 @@ extern struct gui_download_table *riscos_download_table;
/* in 401login.c */
void ro_gui_401login_init(void);
void gui_401login_open(struct nsurl *url, const char *realm,
nserror gui_401login_open(struct nsurl *url, const char *realm,
const char *username, const char *password,
nserror (*cb)(const char *username,
const char *password,