diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-11-08 21:51:42 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-11-08 21:51:42 +0000 |
commit | dcbafe6b87d33dd32042499db83cac1f0bac6f82 (patch) | |
tree | 2fab7e6ed48deb1c1de7a34c6468eee431f8f206 /content/fetch.c | |
parent | 91bdfbd17258c09f907c0678e9358a484ae39ece (diff) | |
download | netsurf-dcbafe6b87d33dd32042499db83cac1f0bac6f82.tar.gz netsurf-dcbafe6b87d33dd32042499db83cac1f0bac6f82.tar.bz2 |
Clean up fetch callback API. Inject some long-needed type safety.
svn path=/trunk/netsurf/; revision=13137
Diffstat (limited to 'content/fetch.c')
-rw-r--r-- | content/fetch.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/content/fetch.c b/content/fetch.c index 693ea1148..bc182f514 100644 --- a/content/fetch.c +++ b/content/fetch.c @@ -662,12 +662,9 @@ void fetch_multipart_data_destroy(struct fetch_multipart_data *list) } void -fetch_send_callback(fetch_msg msg, struct fetch *fetch, const void *data, - unsigned long size, fetch_error_code errorcode) +fetch_send_callback(const fetch_msg *msg, struct fetch *fetch) { - /*LOG(("Fetcher sending callback. Fetch %p, fetcher %p data %p size %lu", - fetch, fetch->fetcher_handle, data, size)); */ - fetch->callback(msg, fetch->p, data, size, errorcode); + fetch->callback(msg, fetch->p); } |