diff options
| author | halex <> | 2015-03-22 00:58:16 +0000 |
|---|---|---|
| committer | halex <> | 2015-03-22 00:58:16 +0000 |
| commit | bbc933d9c9036a9d00426d1e237515f69354714c (patch) | |
| tree | e61ae12b0156c78f5c8d1c91b538630538983d6a /src/lib/libc | |
| parent | 2335ea63067865cf75a664af53102a46ea52c629 (diff) | |
| download | openbsd-bbc933d9c9036a9d00426d1e237515f69354714c.tar.gz openbsd-bbc933d9c9036a9d00426d1e237515f69354714c.tar.bz2 openbsd-bbc933d9c9036a9d00426d1e237515f69354714c.zip | |
unmute rcmd hostname lookup failure
ok millert@ jung@
Diffstat (limited to 'src/lib/libc')
| -rw-r--r-- | src/lib/libc/net/rcmd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/net/rcmd.c b/src/lib/libc/net/rcmd.c index 4004882deb..d10410b25a 100644 --- a/src/lib/libc/net/rcmd.c +++ b/src/lib/libc/net/rcmd.c | |||
| @@ -97,9 +97,8 @@ rcmd_af(char **ahost, int porta, const char *locuser, const char *remuser, | |||
| 97 | hints.ai_flags = AI_CANONNAME; | 97 | hints.ai_flags = AI_CANONNAME; |
| 98 | error = getaddrinfo(*ahost, pbuf, &hints, &res); | 98 | error = getaddrinfo(*ahost, pbuf, &hints, &res); |
| 99 | if (error) { | 99 | if (error) { |
| 100 | #if 0 | 100 | (void)fprintf(stderr, "rcmd: %s: %s\n", *ahost, |
| 101 | warnx("%s: %s", *ahost, gai_strerror(error)); | 101 | gai_strerror(error)); |
| 102 | #endif | ||
| 103 | return (-1); | 102 | return (-1); |
| 104 | } | 103 | } |
| 105 | if (res->ai_canonname) { | 104 | if (res->ai_canonname) { |
