Skip to content

Commit

Permalink
try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
borg-0300 committed Mar 18, 2006
1 parent f16f1f1 commit 3fe4020
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/de/anomic/plasma/plasmaCrawlWorker.java
Expand Up @@ -58,7 +58,6 @@
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;
Expand Down Expand Up @@ -357,7 +356,7 @@ private static plasmaHTCache.Entry load(
// 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() + "'");
Expand Down

0 comments on commit 3fe4020

Please sign in to comment.