diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/9pserve.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/9pserve.c b/src/cmd/9pserve.c index f7b76bf9..ab27e61a 100644 --- a/src/cmd/9pserve.c +++ b/src/cmd/9pserve.c @@ -560,13 +560,13 @@ connthread(void *arg) sendq(outq, &sync); recvp(c->outqdead); - /* should be no messages left anywhere. */ - assert(c->nmsg == 0); - /* everything is quiet; can close the local output queue. */ sendq(c->outq, nil); recvp(c->outqdead); + /* should be no messages left anywhere. */ + assert(c->nmsg == 0); + /* clunk all outstanding fids */ for(i=0; i<NHASH; i++){ for(h=c->fid[i]; h; h=hnext){ |