[BUGFIX] crash on resolve.toString if hostname is null (#3635)
This commit is contained in:
parent
17e8aa43fb
commit
5dd666257d
|
@ -368,7 +368,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 +
|
||||
|
|
Loading…
Reference in New Issue