9pserve: delete from correct hash slot (fix infinite loop)
This commit is contained in:
parent
db1cda12ae
commit
ec9247088b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue