From 415b92bb07d3c57086a4bbefb2e839a6fd780e8b Mon Sep 17 00:00:00 2001 From: orbiter Date: Mon, 12 May 2008 15:06:04 +0000 Subject: [PATCH] fix for http://forum.yacy-websuche.de/viewtopic.php?f=6&t=1148&hilit=&p=7711#p7711 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4795 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaSwitchboardQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaSwitchboardQueue.java b/source/de/anomic/plasma/plasmaSwitchboardQueue.java index 24168e631..4750f27e3 100644 --- a/source/de/anomic/plasma/plasmaSwitchboardQueue.java +++ b/source/de/anomic/plasma/plasmaSwitchboardQueue.java @@ -384,7 +384,7 @@ public class plasmaSwitchboardQueue { public yacyURL referrerURL() { if (referrerURL == null) { - if ((referrerHash == null) || (referrerHash.equals(initiator.length() == 0))) return null; + if ((referrerHash == null) || ((initiator != null) && (referrerHash.equals(initiator.length() == 0)))) return null; indexURLReference entry = wordIndex.getURL(referrerHash, null, 0); if (entry == null) referrerURL = null; else referrerURL = entry.comp().url(); }