1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Remove ProxySocket's sent_bufsize field.

I just spotted that it was set once and never read.
This commit is contained in:
Simon Tatham 2019-02-06 20:19:08 +00:00
parent 0aa8cf7b0d
commit a742abae27
2 changed files with 0 additions and 4 deletions

View File

@ -238,7 +238,6 @@ static void plug_proxy_sent (Plug *p, int bufsize)
ProxySocket *ps = container_of(p, ProxySocket, plugimpl);
if (ps->state != PROXY_STATE_ACTIVE) {
ps->sent_bufsize = bufsize;
ps->negotiate(ps, PROXY_CHANGE_SENT);
return;
}

View File

@ -71,9 +71,6 @@ struct ProxySocket {
const char *receive_data;
int receive_len;
/* sent */
int sent_bufsize;
/* accepting */
accept_fn_t accepting_constructor;
accept_ctx_t accepting_ctx;