Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@395 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Jul 8, 2005
1 parent 8b89c46 commit 2770485
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/de/anomic/plasma/plasmaSwitchboard.java
Expand Up @@ -465,8 +465,15 @@ synchronized public boolean htEntryStoreProcess(plasmaHTCache.Entry entry) throw

// work off unwritten files
if (entry.cacheArray != null) {
String error = entry.shallStoreCache();
if (error == null) {
cacheManager.writeFile(entry.url, entry.cacheArray);
log.logInfo("WROTE FILE (" + entry.cacheArray.length + " bytes) for " + entry.cacheFile);
log.logInfo("WROTE FILE (" + entry.cacheArray.length + " bytes) for " + entry.cacheFile);
} else {
log.logInfo("WRITE OF FILE " + entry.cacheFile + " FORBIDDEN: " + error);
}
} else {
log.logInfo("EXISTING FILE (" + entry.cacheFile.length() + " bytes) for " + entry.cacheFile);
}

// enqueue for further crawling
Expand Down

0 comments on commit 2770485

Please sign in to comment.