From 3fe402069f054c8311d206d09c718c1930dc9240 Mon Sep 17 00:00:00 2001 From: borg-0300 Date: Sat, 18 Mar 2006 18:51:52 +0000 Subject: [PATCH] try to fix see: http://www.yacy-forum.de/viewtopic.php?p=19175#19175 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1927 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaCrawlWorker.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/de/anomic/plasma/plasmaCrawlWorker.java b/source/de/anomic/plasma/plasmaCrawlWorker.java index 80ed6851a..860fa761c 100644 --- a/source/de/anomic/plasma/plasmaCrawlWorker.java +++ b/source/de/anomic/plasma/plasmaCrawlWorker.java @@ -58,7 +58,6 @@ import de.anomic.http.httpHeader; import de.anomic.http.httpRemoteProxyConfig; import de.anomic.http.httpc; import de.anomic.http.httpdProxyHandler; -import de.anomic.plasma.plasmaHTCache.Entry; import de.anomic.server.logging.serverLog; import de.anomic.tools.bitfield; import de.anomic.yacy.yacyCore; @@ -357,7 +356,7 @@ public final class plasmaCrawlWorker extends Thread { // TODO: aborting download if content is to long ... //long contentLength = res.responseHeader.contentLength(); - if (htCache.cacheFile.getAbsolutePath().length() > Entry.MAXPATHLENGTH) { + if (htCache.cacheFile.getAbsolutePath().length() > htCache.MAXPATHLENGTH) { remote.close(); log.logInfo("REJECTED URL " + url.toString() + " because path too long '" + cacheManager.cachePath.getAbsolutePath() + "'");