From f07a47d25202eb4b018cc2b81d9275dcd175049b Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 26 Oct 2003 00:09:27 +0000 Subject: [project @ 2003-10-26 00:09:27 by jmb] Fix bug involving while loop exiting early. Move the xstrdup of the realm into riscos/401login.c svn path=/import/netsurf/; revision=389 --- content/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') diff --git a/content/fetch.c b/content/fetch.c index 85e6f00f2..a5673a08c 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -558,7 +558,7 @@ bool fetch_process_headers(struct fetch *f) /* handle HTTP 401 (Authentication errors) */ if (http_code == 401) { - f->callback(FETCH_AUTH, f->p, xstrdup(f->realm),0); + f->callback(FETCH_AUTH, f->p, f->realm,0); return true; } -- cgit v1.2.3