1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-13 00:57:33 -05:00

Use 'true' and 'false' in sk_set_frozen calls.

Apparently a handful of calls to that particular function managed to
miss my big-bang conversion to using bool where appropriate, and were
still being called with constants 0 and 1.
This commit is contained in:
Simon Tatham
2020-02-12 21:35:04 +00:00
parent f3b2c0f209
commit 230c8ef4ee
4 changed files with 7 additions and 7 deletions

View File

@ -65,7 +65,7 @@ void proxy_activate (ProxySocket *p)
* unfreezing the actual underlying socket.
*/
if (!p->freeze)
sk_set_frozen(&p->sock, 0);
sk_set_frozen(&p->sock, false);
}
/* basic proxy socket functions */
@ -499,7 +499,7 @@ Socket *new_connection(SockAddr *addr, const char *hostname,
return &ret->sock;
/* start the proxy negotiation process... */
sk_set_frozen(ret->sub_socket, 0);
sk_set_frozen(ret->sub_socket, false);
ret->negotiate(ret, PROXY_CHANGE_NEW);
return &ret->sock;