diff options
Diffstat (limited to 'content/fetch.c')
-rw-r--r-- | content/fetch.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |