pull/1/head
Michael Peter Christen 10 years ago
parent 5d321d3dc5
commit bef689d0a2

@ -219,7 +219,7 @@ public class ConfigPortal {
prop.put("target_selected_special_searchresult", "searchresult".equals(target_special) ? 1 : 0);
prop.put("target_special_pattern", sb.getConfig(SwitchboardConstants.SEARCH_TARGET_SPECIAL_PATTERN, ""));
String myaddress = (sb.peers == null) ? null : sb.peers.mySeed() == null ? null : sb.peers.mySeed().getPublicAddress(sb.peers.mySeed().getIP());
String myaddress = (sb.peers == null) || sb.peers.mySeed() == null || sb.peers.mySeed().getIP() == null ? null : sb.peers.mySeed().getPublicAddress(sb.peers.mySeed().getIP());
if (myaddress == null) {
myaddress = "localhost:" + sb.getLocalPort("port", 8090);
}

@ -102,6 +102,7 @@ public class ViewLog_p {
int level = 0;
int lc = 0;
for (final String logLine : log) {
if (logLine == null) break;
final String nextLogLine = logLine.trim();
if (filterMatcher != null) {

Loading…
Cancel
Save