From 889ae885c66b0278c632090a0e1b89746a895ed4 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Mon, 14 Jul 2003 22:57:45 +0000 Subject: [project @ 2003-07-14 22:57:45 by bursa] Add content instances. svn path=/import/netsurf/; revision=216 --- content/fetchcache.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'content/fetchcache.c') diff --git a/content/fetchcache.c b/content/fetchcache.c index 23316b1b6..844111376 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -21,8 +21,7 @@ static void fetchcache_callback(fetch_msg msg, void *p, char *data, unsigned lon struct content * fetchcache(const char *url0, char *referer, void (*callback)(content_msg msg, struct content *c, void *p1, void *p2, const char *error), - void *p1, void *p2, unsigned long width, unsigned long height, - struct object_params *object_params) + void *p1, void *p2, unsigned long width, unsigned long height) { struct content *c; char *url = xstrdup(url0); @@ -36,12 +35,12 @@ struct content * fetchcache(const char *url0, char *referer, c = cache_get(url); if (c != 0) { - content_add_user(c, callback, p1, p2, object_params); + content_add_user(c, callback, p1, p2); return c; } c = content_create(url); - content_add_user(c, callback, p1, p2, object_params); + content_add_user(c, callback, p1, p2); cache_put(c); c->fetch_size = 0; c->width = width; -- cgit v1.2.3