summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-11-08 21:51:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-11-08 21:51:42 +0000
commitdcbafe6b87d33dd32042499db83cac1f0bac6f82 (patch)
tree2fab7e6ed48deb1c1de7a34c6468eee431f8f206 /content/fetch.c
parent91bdfbd17258c09f907c0678e9358a484ae39ece (diff)
downloadnetsurf-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.c7
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);
}