mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 19:42:48 -05:00
net_service_lookup: add missing 'const'.
Spotted in passing while doing the filename-correction trawl.
This commit is contained in:
@ -1599,7 +1599,7 @@ static void uxsel_tell(NetSocket *s)
|
||||
uxsel_set(s->s, rwx, net_select_result);
|
||||
}
|
||||
|
||||
int net_service_lookup(char *service)
|
||||
int net_service_lookup(const char *service)
|
||||
{
|
||||
struct servent *se;
|
||||
se = getservbyname(service, NULL);
|
||||
|
Reference in New Issue
Block a user