mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-23 02:42:11 +03:00
RISC OS: gui_401login_open returns nserror now.
This commit is contained in:
parent
cf17ecbbc7
commit
cd0309fa83
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user