diff options
author | James Bursa <james@netsurf-browser.org> | 2003-07-09 21:33:01 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-07-09 21:33:01 +0000 |
commit | 9317e33d0bb597543239ced2e100ece042cf416f (patch) | |
tree | 3d509c4b9ee85555f0c07dfd6b3a06365847e6fe /content/fetchcache.c | |
parent | 80013c7a7194c47b11f6f8dddc416367df3f134d (diff) | |
download | netsurf-9317e33d0bb597543239ced2e100ece042cf416f.tar.gz netsurf-9317e33d0bb597543239ced2e100ece042cf416f.tar.bz2 |
[project @ 2003-07-09 21:33:01 by bursa]
More work on <object> and plugins.
svn path=/import/netsurf/; revision=213
Diffstat (limited to 'content/fetchcache.c')
-rw-r--r-- | content/fetchcache.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; |