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:
4
proxy.c
4
proxy.c
@ -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;
|
||||
|
Reference in New Issue
Block a user