]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't assume ai0->ai_canonname will always be filled in. Print the
authorwollman <wollman@FreeBSD.org>
Sun, 24 Sep 2000 01:54:49 +0000 (01:54 +0000)
committerwollman <wollman@FreeBSD.org>
Sun, 24 Sep 2000 01:54:49 +0000 (01:54 +0000)
commit314abdc18465b579175462bc8a5536902d974472
tree4d04db4763c0aeb5fd83590c603ae111a31601ad
parent98932a243c747b66c0dd0acc6b3b82e9878a1312
Don't assume ai0->ai_canonname will always be filled in.  Print the
user-supplied host name if we can't get a canonical name.

Obtained from: contrib/tcp_wrappers/socket.c rev. 1.4 (in spirit)
usr.bin/finger/net.c