X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/270b8403580b7fd0feae995b9e8bad4a2ff660ff..096c89c34505cadba1fc6e7a5367273d5c5bea47:/socket.c diff --git a/socket.c b/socket.c index 518117c..a1a9a55 100644 --- a/socket.c +++ b/socket.c @@ -225,7 +225,7 @@ void starget_connected(int fd, void *p) e->e.in = e->e.out = r; e->e.f &= ~EPF_PENDING; if (e->e.other) - endpt_join(&e->e, e->e.other); + endpt_join(&e->e, e->e.other, 0); } } @@ -454,7 +454,7 @@ static void ss_accept(int fd, unsigned mode, void *p) /* --- Let everything else happen --- */ - endpt_join(&e->e, ee); + endpt_join(&e->e, ee, ss->s.desc); } }