From 9350f1d30fbd4843edb0df04dbab353026269916 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Fri, 14 Apr 1995 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1995-04-14 --- port/auth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/port/auth.c b/port/auth.c index ef2276a433bb49522cd556441b375b4b68bb0c40..c10c8b2909bd726069cf468ecc275347e42bebee 100644 --- a/port/auth.c +++ b/port/auth.c @@ -127,7 +127,8 @@ sysfsession(ulong *arg) while(!canlock(&s->send)) sched(); - if(s->valid == 0){ + if(s->valid == 0 && (c->flag & CMSG) == 0){ + /* * Exchange a session message with the server. * If an error occurs reading or writing,