From 1d0ab81f378b80a9b0aa2e0718a1a91c613853d8 Mon Sep 17 00:00:00 2001 From: hniksic Date: Mon, 10 Nov 2003 19:19:33 -0800 Subject: [PATCH] [svn] Use a more standard error message. --- src/ChangeLog | 5 +++++ src/host.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 99d0478d..c8486ce9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2003-11-11 Hrvoje Niksic + + * host.c (host_errstr): Use the more standard message "Unknown + host". + 2003-11-10 Hrvoje Niksic * connect.c (connect_to_host): Use that flag to decide whether to diff --git a/src/host.c b/src/host.c index 1f538c8b..f53764ea 100644 --- a/src/host.c +++ b/src/host.c @@ -353,7 +353,7 @@ host_errstr (int error) || error == NO_RECOVERY || error == NO_DATA || error == NO_ADDRESS) - return _("Host not found"); + return _("Unknown host"); else if (error == TRY_AGAIN) /* Message modeled after what gai_strerror returns in similar circumstances. */