From 1c85bf04293cfba663c5170bbe762825b7e72af1 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Tue, 2 Mar 2004 18:02:41 +0000 Subject: [project @ 2004-03-02 18:02:17 by bursa] Add new url functions and modify to use them. svn path=/import/netsurf/; revision=578 --- riscos/401login.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'riscos/401login.c') diff --git a/riscos/401login.c b/riscos/401login.c index b46d115d0..c96fcd2c1 100644 --- a/riscos/401login.c +++ b/riscos/401login.c @@ -17,6 +17,7 @@ #include "netsurf/riscos/gui.h" #include "netsurf/utils/log.h" #include "netsurf/utils/messages.h" +#include "netsurf/utils/url.h" #include "netsurf/utils/utils.h" #ifdef WITH_AUTH @@ -65,7 +66,7 @@ void gui_401login_open(struct browser_window *bw, struct content *c, char *realm char *murl, *host; murl = c->url; - host = get_host_from_url(murl); + host = url_host(murl); assert(host); bwin = bw; -- cgit v1.2.3