Up to [local] / src / usr.bin / telnet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_2_7_BASE
Revision 1.28 / (download) - annotate - [select for diffs], Sun Apr 30 23:57:08 2000 UTC (24 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.27: +8 -3 lines
Diff to previous 1.27 (colored)
If getaddrinfo() fails: o Only call herror() if h_errno != 0 o if error == EAI_SERVICE say "bad port" since the generic error, "service not supported for ai_socktype" is incomprehensible to most users. o Use warnx(), not warn() since this is not a case where errno is likely to be relevant. Ok'd by Theo