diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-10-26 00:09:27 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-10-26 00:09:27 +0000 |
commit | f07a47d25202eb4b018cc2b81d9275dcd175049b (patch) | |
tree | a8c1204b7436f311c88307d4dea217280e677613 /content | |
parent | ab8edd9da4ec6766dfb07acd25bea5c3f503c1e3 (diff) | |
download | netsurf-f07a47d25202eb4b018cc2b81d9275dcd175049b.tar.gz netsurf-f07a47d25202eb4b018cc2b81d9275dcd175049b.tar.bz2 |
[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
Diffstat (limited to 'content')
-rw-r--r-- | content/fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |