From 5820438b64b0f22bbf50a28fa6d905fd6e085182 Mon Sep 17 00:00:00 2001 From: Ben Gray Date: Mon, 27 Feb 2012 16:06:56 +0000 Subject: [PATCH] update lower bound flag when removing topics --- src/trie.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/trie.cpp b/src/trie.cpp index 2754fedc..ab0f3e5c 100644 --- a/src/trie.cpp +++ b/src/trie.cpp @@ -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 // node table => keep the right-most node node = next.table [count - 1]; + min += count - 1; } else if (c == min + count - 1) { // The pruned node is the right-most node ptr in the