1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -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

@ -277,8 +277,8 @@ static int plug_proxy_accepting (Plug p, OSSocket sock)
* This function can accept a NULL pointer as `addr', in which case
* it will only check the host name.
*/
static int proxy_for_destination (SockAddr addr, char *hostname, int port,
Conf *conf)
static int proxy_for_destination (SockAddr addr, const char *hostname,
int port, Conf *conf)
{
int s = 0, e = 0;
char hostip[64];