diff options
Diffstat (limited to 'nslookup.c')
-rw-r--r-- | nslookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nslookup.c b/nslookup.c index 3223b3b63..e4bf52f80 100644 --- a/nslookup.c +++ b/nslookup.c | |||
@@ -135,7 +135,7 @@ static struct hostent *hostent_fprint(struct hostent *host, FILE * dst) | |||
135 | fprintf(dst, "Name: %s\n", host->h_name); | 135 | fprintf(dst, "Name: %s\n", host->h_name); |
136 | addr_list_fprint(host->h_addr_list, dst); | 136 | addr_list_fprint(host->h_addr_list, dst); |
137 | } else { | 137 | } else { |
138 | fprintf(dst, "*** %s\n", hstrerror(h_errno)); | 138 | fprintf(dst, "*** Unknown host\n"); |
139 | } | 139 | } |
140 | return host; | 140 | return host; |
141 | } | 141 | } |
@@ -173,4 +173,4 @@ int nslookup_main(int argc, char **argv) | |||
173 | exit( TRUE); | 173 | exit( TRUE); |
174 | } | 174 | } |
175 | 175 | ||
176 | /* $Id: nslookup.c,v 1.7 2000/04/15 16:34:54 erik Exp $ */ | 176 | /* $Id: nslookup.c,v 1.8 2000/05/02 00:07:56 erik Exp $ */ |