fixed bug in itrie_traverse_cont()

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2029 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
ricroc 2007-11-20 16:15:41 +00:00
parent 507d3058f4
commit 5941606d19
1 changed files with 2 additions and 0 deletions

View File

@ -271,6 +271,8 @@ TrData itrie_traverse_cont(TrEntry itrie) {
data = TrEntry_traverse_data(itrie);
if (!data) {
traverse_bucket = TrEntry_traverse_bucket(itrie);
if (traverse_bucket == TrEntry_num_buckets(itrie))
return NULL;
do {
bucket = TrEntry_bucket(itrie, traverse_bucket);
traverse_bucket++;