diff --git a/htroot/WatchWebStructure_p.java b/htroot/WatchWebStructure_p.java index ff29c8fcc..abf7e2f23 100644 --- a/htroot/WatchWebStructure_p.java +++ b/htroot/WatchWebStructure_p.java @@ -71,6 +71,7 @@ public class WatchWebStructure_p { sb.webStructure.referencesCount(DigestURI.hosthash6(host)) == 0) { // find domain with most references besthost = sb.webStructure.hostWithMaxReferences(); + if (besthost == null) besthost = host; } else { besthost = host; }