From 9317e33d0bb597543239ced2e100ece042cf416f Mon Sep 17 00:00:00 2001 From: James Bursa Date: Wed, 9 Jul 2003 21:33:01 +0000 Subject: [project @ 2003-07-09 21:33:01 by bursa] More work on and plugins. svn path=/import/netsurf/; revision=213 --- content/fetchcache.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'content/fetchcache.c') diff --git a/content/fetchcache.c b/content/fetchcache.c index 844111376..23316b1b6 100644 --- a/content/fetchcache.c +++ b/content/fetchcache.c @@ -21,7 +21,8 @@ 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) + void *p1, void *p2, unsigned long width, unsigned long height, + struct object_params *object_params) { struct content *c; char *url = xstrdup(url0); @@ -35,12 +36,12 @@ struct content * fetchcache(const char *url0, char *referer, c = cache_get(url); if (c != 0) { - content_add_user(c, callback, p1, p2); + content_add_user(c, callback, p1, p2, object_params); return c; } c = content_create(url); - content_add_user(c, callback, p1, p2); + content_add_user(c, callback, p1, p2, object_params); cache_put(c); c->fetch_size = 0; c->width = width; -- cgit v1.2.3