From c374a674ac66bf74c48cd94baa1962600b7943ef Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Tue, 2 Sep 1997 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1997-09-02 --- ip/il.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ip/il.c b/ip/il.c index fa7e185bd44f4f08e891863a671c497f0784ff95..17f5bb2f4cc4026d9c93ee2189a56d11abe7af22 100644 --- a/ip/il.c +++ b/ip/il.c @@ -237,7 +237,6 @@ ilclose(Conv *c) case Ilsyncer: case Ilsyncee: case Ilestablished: - ilfreeq(ic); ic->state = Ilclosing; ilsendctl(c, nil, Ilclose, ic->next, ic->recvd, 0); break; @@ -247,6 +246,7 @@ ilclose(Conv *c) c->lport = 0; break; } + ilfreeq(ic); unlock(c); } @@ -784,7 +784,7 @@ ilhangup(Conv *s, char *msg) Ilcb *ic; int callout; - netlog(Logil, "il: hangup! %i %d/%d\n", s->raddr, s->lport, s->rport); + netlog(Logil, "il: hangup! %i %d/%d: %s\n", s->raddr, s->lport, s->rport, msg?msg:"no reason"); ic = (Ilcb*)s->ptcl; callout = ic->state == Ilsyncer;