summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-09-26 13:38:06 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-09-26 13:38:06 +0000
commit460648872f36991a76c46b993796e5f35e5052ae (patch)
tree44564c74ccd2511bdbfb2b3453b80c8992a5bbd5
parent85e5fcea4017196e09e33b0596e298eee0b7a8ae (diff)
downloadnetsurf-460648872f36991a76c46b993796e5f35e5052ae.tar.gz
netsurf-460648872f36991a76c46b993796e5f35e5052ae.tar.bz2
Remove unused host from fetch info struct.
svn path=/trunk/netsurf/; revision=12885
-rw-r--r--content/fetch.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/content/fetch.c b/content/fetch.c
index e521ca2fc..f4858288e 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -81,7 +81,6 @@ struct fetch {
bool send_referer; /**< Valid to send the referer */
bool verifiable; /**< Transaction is verifiable */
void *p; /**< Private data for callback. */
- char *host; /**< Host part of URL. */
lwc_string *lwc_host; /**< Host part of URL, interned */
long http_code; /**< HTTP response code, or 0. */
scheme_fetcher *ops; /**< Fetcher operations for this fetch,
@@ -269,7 +268,6 @@ struct fetch * fetch_start(const char *url, const char *referer,
fetch->url = strdup(url);
fetch->verifiable = verifiable;
fetch->p = p;
- fetch->host = host;
fetch->http_code = 0;
fetch->r_prev = NULL;
fetch->r_next = NULL;
@@ -487,7 +485,6 @@ void fetch_free(struct fetch *f)
f->ops->free_fetch(f->fetcher_handle);
fetch_unref_fetcher(f->ops);
free(f->url);
- free(f->host);
if (f->referer)
free(f->referer);
if (f->lwc_host != NULL)