Compare commits

...

1 Commits

Author SHA1 Message Date
genofire 4d5eefc523
[BUGFIX] crash on resolve.toString if hostname is null 2020-02-07 08:12:40 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -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 +