mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-06 05:52:48 -05:00
net_service_lookup: add missing 'const'.
Spotted in passing while doing the filename-correction trawl.
This commit is contained in:
@ -346,7 +346,7 @@ void sk_free_peer_info(SocketPeerInfo *pi);
|
||||
* can just return 0 - this function is not required to handle
|
||||
* numeric port specifications.
|
||||
*/
|
||||
int net_service_lookup(char *service);
|
||||
int net_service_lookup(const char *service);
|
||||
|
||||
/*
|
||||
* Look up the local hostname; return value needs freeing.
|
||||
|
Reference in New Issue
Block a user