diff options
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; |