mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-22 18:28:39 +01:00
commit
0fed3a3fca
@ -186,6 +186,7 @@ bool zmq::trie_t::rm (unsigned char *prefix_, size_t size_)
|
|||||||
// The pruned node is the left-most node ptr in the
|
// The pruned node is the left-most node ptr in the
|
||||||
// node table => keep the right-most node
|
// node table => keep the right-most node
|
||||||
node = next.table [count - 1];
|
node = next.table [count - 1];
|
||||||
|
min += count - 1;
|
||||||
}
|
}
|
||||||
else if (c == min + count - 1) {
|
else if (c == min + count - 1) {
|
||||||
// The pruned node is the right-most node ptr in the
|
// The pruned node is the right-most node ptr in the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user