1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 11:02:48 -05:00

Add an assortment of missing consts I've just noticed.

[originally from svn r9972]
This commit is contained in:
Simon Tatham
2013-07-27 18:35:48 +00:00
parent a5fd6ad272
commit 808df44e54
7 changed files with 19 additions and 18 deletions

View File

@ -341,7 +341,7 @@ void sk_getaddr(SockAddr addr, char *buf, int buflen)
}
}
int sk_hostname_is_local(char *name)
int sk_hostname_is_local(const char *name)
{
return !strcmp(name, "localhost") ||
!strcmp(name, "::1") ||