X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/17ded99b880a9d546bd3d9ac3106c7da558fda4e..86c9bc4bc9e9b99482bcc5a2c6da8f5ec7516f69:/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); } }