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:
@ -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") ||
|
||||
|
Reference in New Issue
Block a user