From 5e0856ee690cd389fea6196c7b18e51e13662dd6 Mon Sep 17 00:00:00 2001 From: genofire Date: Fri, 7 Feb 2020 08:10:58 +0100 Subject: [PATCH] [BUGFIX] happy eyeball fix null pointers --- src/main/java/eu/siacs/conversations/utils/Resolver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/utils/Resolver.java b/src/main/java/eu/siacs/conversations/utils/Resolver.java index db3f97584..09f9c9612 100644 --- a/src/main/java/eu/siacs/conversations/utils/Resolver.java +++ b/src/main/java/eu/siacs/conversations/utils/Resolver.java @@ -381,7 +381,7 @@ public class Resolver { public String toString() { return "Result{" + "ip='" + (ip == null ? null : ip.getHostAddress()) + '\'' + - ", hostame='" + hostname.toString() + '\'' + + ", hostame='" + (hostname == null ? null : hostname.toString()) + '\'' + ", port=" + port + ", directTls=" + directTls + ", authenticated=" + authenticated +