diff options
author | Damien Miller <djm@mindrot.org> | 2006-03-26 14:09:54 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-03-26 14:09:54 +1100 |
commit | 1d2b6706ba1b2000bd807731e6d8e35691eaf8df (patch) | |
tree | b61365d7696fe908a14fd643362e3728e71846a3 /canohost.c | |
parent | 1ff7c642eed4df1c2f9fcc6f247d7d9949b6e81c (diff) |
- deraadt@cvs.openbsd.org 2006/03/20 18:42:27
[canohost.c match.c ssh.c sshconnect.c]
be strict with tolower() casting
Diffstat (limited to 'canohost.c')
-rw-r--r-- | canohost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canohost.c b/canohost.c index 4fafb0b82..b1c35e99e 100644 --- a/canohost.c +++ b/canohost.c | |||
@@ -88,7 +88,7 @@ get_remote_hostname(int sock, int use_dns) | |||
88 | */ | 88 | */ |
89 | for (i = 0; name[i]; i++) | 89 | for (i = 0; name[i]; i++) |
90 | if (isupper(name[i])) | 90 | if (isupper(name[i])) |
91 | name[i] = tolower(name[i]); | 91 | name[i] = (char)tolower(name[i]); |
92 | /* | 92 | /* |
93 | * Map it back to an IP address and check that the given | 93 | * Map it back to an IP address and check that the given |
94 | * address actually is an address of this host. This is | 94 | * address actually is an address of this host. This is |