Author: j16sdiz
Date: 2008-12-10 14:52:13 +0000 (Wed, 10 Dec 2008)
New Revision: 24179
Modified:
trunk/plugins/XMLSpider/XMLSpider.java
Log:
fix failed fetch
Modified: trunk/plugins/XMLSpider/XMLSpider.java
===================================================================
--- trunk/plugins/XMLSpider/XMLSpider.java 2008-12-10 14:46:33 UTC (rev
24178)
+++ trunk/plugins/XMLSpider/XMLSpider.java 2008-12-10 14:52:13 UTC (rev
24179)
@@ -385,7 +385,7 @@
db.store(page);
} else if (fe.isFatal() || tries > 3) {
// too many tries or fatal, mark as failed
- runningFetch.remove(page.id);
+ runningFetch.remove(page);
page.status = Status.FAILED;
page.lastChange = System.currentTimeMillis();
db.store(page);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs