diff options
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canohost.c b/canohost.c index 76b0bee02..f15aecb62 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -12,7 +12,7 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "includes.h" | 14 | #include "includes.h" |
15 | RCSID("$OpenBSD: canohost.c,v 1.49 2006/02/22 00:04:44 stevesk Exp $"); | 15 | RCSID("$OpenBSD: canohost.c,v 1.50 2006/03/14 00:15:39 djm Exp $"); |
16 | 16 | ||
17 | #include <ctype.h> | 17 | #include <ctype.h> |
18 | 18 | ||
@@ -104,7 +104,7 @@ get_remote_hostname(int sock, int use_dns) | |||
104 | hints.ai_socktype = SOCK_STREAM; | 104 | hints.ai_socktype = SOCK_STREAM; |
105 | if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { | 105 | if (getaddrinfo(name, NULL, &hints, &aitop) != 0) { |
106 | logit("reverse mapping checking getaddrinfo for %.700s " | 106 | logit("reverse mapping checking getaddrinfo for %.700s " |
107 | "failed - POSSIBLE BREAK-IN ATTEMPT!", name); | 107 | "[%s] failed - POSSIBLE BREAK-IN ATTEMPT!", name, ntop); |
108 | return xstrdup(ntop); | 108 | return xstrdup(ntop); |
109 | } | 109 | } |
110 | /* Look for the address from the list of addresses. */ | 110 | /* Look for the address from the list of addresses. */ |