X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fuxproxy.c;h=617f5ccf07d04b7a23ec985aab63bde0e88822b3;hb=693bbf0ec6007120b91dafb4eaed1ae833eb59f7;hp=b3f75e813fabfa09fd6ff5bad6a2f984c20d6d88;hpb=92db92af5a6b230e876a5f0f34a184612792847d;p=PuTTY.git diff --git a/unix/uxproxy.c b/unix/uxproxy.c index b3f75e81..617f5ccf 100644 --- a/unix/uxproxy.c +++ b/unix/uxproxy.c @@ -98,6 +98,8 @@ static void sk_localproxy_close (Socket s) del234(localproxy_by_fromfd, ps); del234(localproxy_by_tofd, ps); + uxsel_del(ps->to_cmd); + uxsel_del(ps->from_cmd); close(ps->to_cmd); close(ps->from_cmd); @@ -221,8 +223,8 @@ static int localproxy_select_result(int fd, int event) Socket platform_new_connection(SockAddr addr, char *hostname, int port, int privport, - int oobinline, int nodelay, Plug plug, - const Config *cfg) + int oobinline, int nodelay, int keepalive, + Plug plug, const Config *cfg) { char *cmd;