mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Fix/bludgeon Mac compile wrinkles.
[originally from svn r5154]
This commit is contained in:
parent
37278b3bfc
commit
eb4bb72cc6
2
cproxy.c
2
cproxy.c
@ -131,7 +131,7 @@ int proxy_socks5_handlechap (Proxy_Socket p)
|
||||
outbuf[3] = 0x10; /* Length */
|
||||
hmacmd5_chap(data, p->chap_current_datalen,
|
||||
p->cfg.proxy_password, &outbuf[4]);
|
||||
sk_write(p->sub_socket, outbuf, 20);
|
||||
sk_write(p->sub_socket, (char *)outbuf, 20);
|
||||
break;
|
||||
case 0x11:
|
||||
/* Chose a protocol */
|
||||
|
2
x11fwd.c
2
x11fwd.c
@ -241,7 +241,7 @@ char *x11_display(const char *display) {
|
||||
char *ret;
|
||||
if(!display || !*display) {
|
||||
/* try to find platform-specific local display */
|
||||
if(!(ret = platform_get_x_display()))
|
||||
if((ret = platform_get_x_display())==0)
|
||||
/* plausible default for all platforms */
|
||||
ret = dupstr(":0");
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user