summaryrefslogtreecommitdiff
path: root/frontends/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-11-03 15:12:27 +0000
committerVincent Sanders <vince@kyllikki.org>2018-11-03 15:12:50 +0000
commit6ff3238825f21e0abec37b1d485318648d824cab (patch)
tree489406862f83738f0304d364666096fccc5cf610 /frontends/gtk
parent4fcb6eb3016de68b4a742cd6b4d2248550529deb (diff)
downloadnetsurf-6ff3238825f21e0abec37b1d485318648d824cab.tar.gz
netsurf-6ff3238825f21e0abec37b1d485318648d824cab.tar.bz2
centralise monkey output generation
Diffstat (limited to 'frontends/gtk')
-rw-r--r--frontends/gtk/login.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/frontends/gtk/login.c b/frontends/gtk/login.c
index 02951aa3f..184ef2931 100644
--- a/frontends/gtk/login.c
+++ b/frontends/gtk/login.c
@@ -258,12 +258,15 @@ create_login_window(nsurl *url,
/* exported function documented in gtk/login.h */
-nserror gui_401login_open(nsurl *url, const char *realm,
- const char *username, const char *password,
- nserror (*cb)(const char *username,
+nserror
+gui_401login_open(nsurl *url,
+ const char *realm,
+ const char *username,
+ const char *password,
+ nserror (*cb)(const char *username,
const char *password,
void *pw),
- void *cbpw)
+ void *cbpw)
{
lwc_string *host;
nserror res;