From 7a12712a1412c1797b94cde0f3d0a534400b46be Mon Sep 17 00:00:00 2001 From: danw Date: Wed, 27 Jan 1999 19:36:18 +0000 Subject: [PATCH] minor change related to new printing --- lib/fixhost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fixhost.c b/lib/fixhost.c index b1c15632..d9797a00 100644 --- a/lib/fixhost.c +++ b/lib/fixhost.c @@ -54,7 +54,7 @@ char *canonicalize_hostname(char *host) return tbuf; } - if (strchr(host, '*') || strchr(host, '?') || !strcmp(host, "[NONE]")) + if (strchr(host, '*') || strchr(host, '?') || *host == '[') return host; hp = gethostbyname(host); -- 2.45.1