From b0f1b7b1704fb42675fff58a35a7ac1707bec2b2 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 10 Apr 2010 17:13:53 +0000 Subject: Improve const-correctness of fetch_start svn path=/trunk/netsurf/; revision=10342 --- content/fetch.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/fetch.c') diff --git a/content/fetch.c b/content/fetch.c index 86671de46..02db40ba9 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -211,8 +211,8 @@ void fetch_unref_fetcher(scheme_fetcher *fetcher) struct fetch * fetch_start(const char *url, const char *referer, fetch_callback callback, void *p, bool only_2xx, const char *post_urlenc, - struct fetch_multipart_data *post_multipart, - bool verifiable, char *headers[]) + const struct fetch_multipart_data *post_multipart, + bool verifiable, const char *headers[]) { char *host; struct fetch *fetch; @@ -312,7 +312,7 @@ struct fetch * fetch_start(const char *url, const char *referer, /* Got a scheme fetcher, try and set up the fetch */ fetch->fetcher_handle = fetch->ops->setup_fetch(fetch, url, only_2xx, post_urlenc, - post_multipart, (const char **)headers); + post_multipart, headers); if (fetch->fetcher_handle == NULL) goto failed; -- cgit v1.2.3