diff options
author | James Bursa <james@netsurf-browser.org> | 2003-04-17 21:35:02 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-04-17 21:35:02 +0000 |
commit | 58c28f9c1ab86da14f15cee44ae936c74d812a5f (patch) | |
tree | d4612d8ac49f79eda95439939faae6d26aefbe2f /content/content.c | |
parent | 1ab6b6c50b9a9898c30f1c5837f88e1d697059fd (diff) | |
download | netsurf-58c28f9c1ab86da14f15cee44ae936c74d812a5f.tar.gz netsurf-58c28f9c1ab86da14f15cee44ae936c74d812a5f.tar.bz2 |
[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
Diffstat (limited to 'content/content.c')
-rw-r--r-- | content/content.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <assert.h> @@ -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); } |