From 58c28f9c1ab86da14f15cee44ae936c74d812a5f Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 17 Apr 2003 21:35:02 +0000 Subject: [project @ 2003-04-17 21:35:02 by bursa] Max one fetch from each host at once, fix multiple fetches of same url. svn path=/import/netsurf/; revision=127 --- content/content.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 5a9e2956b..70933a97b 100644 --- a/content/content.c +++ b/content/content.c @@ -1,5 +1,5 @@ /** - * $Id: content.c,v 1.7 2003/04/15 17:53:00 bursa Exp $ + * $Id: content.c,v 1.8 2003/04/17 21:35:02 bursa Exp $ */ #include @@ -121,7 +121,8 @@ void content_revive(struct content *c, unsigned long width, unsigned long height { assert(c != 0); assert(c->type < CONTENT_OTHER); - assert(c->status == CONTENT_DONE); + if (c->status != CONTENT_DONE) + return; c->available_width = width; handler_map[c->type].revive(c, width, height); } -- cgit v1.2.3