aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/9pserve.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2007-08-28 08:45:27 -0400
committerRuss Cox <rsc@swtch.com>2007-08-28 08:45:27 -0400
commitec9247088b801c9b4d2bf3661a0430a3a6bf2a8e (patch)
tree1554642b4861b58cb4c5b9d3c9941f1b10ad035a /src/cmd/9pserve.c
parentdb1cda12aeacb3fde97b8a88120c9f8d1eaa7e44 (diff)
downloadplan9port-ec9247088b801c9b4d2bf3661a0430a3a6bf2a8e.tar.gz
plan9port-ec9247088b801c9b4d2bf3661a0430a3a6bf2a8e.tar.bz2
plan9port-ec9247088b801c9b4d2bf3661a0430a3a6bf2a8e.zip
9pserve: delete from correct hash slot (fix infinite loop)
Diffstat (limited to 'src/cmd/9pserve.c')
-rw-r--r--src/cmd/9pserve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9pserve.c b/src/cmd/9pserve.c
index ab27e61a..1868808e 100644
--- a/src/cmd/9pserve.c
+++ b/src/cmd/9pserve.c
@@ -542,7 +542,7 @@ connthread(void *arg)
assert(mm == m);
msgput(m); /* got from recvp */
msgput(m); /* got from msgnew */
- if(delhash(c->tag, om->tag, om) == 0)
+ if(delhash(c->tag, om->ctag, om) == 0)
msgput(om); /* got from hash table */
msgput(om); /* got from msgincref */
}