diff --git a/lib/krb5/verify_krb5_conf.c b/lib/krb5/verify_krb5_conf.c index ff4e8cc94..94d0053fb 100644 --- a/lib/krb5/verify_krb5_conf.c +++ b/lib/krb5/verify_krb5_conf.c @@ -159,10 +159,7 @@ check_host(krb5_context context, const char *path, char *data) hostname[strcspn(hostname, "/")] = '\0'; ret = getaddrinfo(hostname, "telnet" /* XXX */, NULL, &ai); if(ret != 0) { - if(ret == EAI_NODATA) - krb5_warnx(context, "%s: host not found (%s)", path, hostname); - else - krb5_warnx(context, "%s: %s (%s)", path, gai_strerror(ret), hostname); + krb5_warnx(context, "%s: %s (%s)", path, gai_strerror(ret), hostname); return 1; } return 0;