diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-06-06 14:50:50 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-06-06 14:50:50 +0000 |
commit | 56b3260c9deeb3298b25ea9570d5a1ba247457e5 (patch) | |
tree | a161444e64f9aabdd7377130da915db3c31880ee /TAO/orbsvcs/orbsvcs | |
parent | 93c06b659867025bd0d7ffa918dc8882da8d75e4 (diff) | |
download | ATCD-56b3260c9deeb3298b25ea9570d5a1ba247457e5.tar.gz |
ChangeLogTag: Tue Jun 6 14:48:33 UTC 2006 J.T. Conklin <jtc@acorntoolworks.com>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Log/Hash_Iterator_i.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Log/Hash_Iterator_i.cpp b/TAO/orbsvcs/orbsvcs/Log/Hash_Iterator_i.cpp index f23b113e3d0..233143bb12f 100644 --- a/TAO/orbsvcs/orbsvcs/Log/Hash_Iterator_i.cpp +++ b/TAO/orbsvcs/orbsvcs/Log/Hash_Iterator_i.cpp @@ -70,6 +70,7 @@ TAO_Hash_Iterator_i::get (CORBA::ULong position, DsLogAdmin::RecordList (how_many), CORBA::NO_MEMORY ()); ACE_CHECK_RETURN (0); + rec_list->length (how_many); CORBA::ULong count = 0; CORBA::ULong current_position = this->current_position_; @@ -79,14 +80,14 @@ TAO_Hash_Iterator_i::get (CORBA::ULong position, ++this->iter_) { // Use an evaluator. - TAO_Log_Constraint_Visitor visitor ((*this->iter_).int_id_); + TAO_Log_Constraint_Visitor visitor (this->iter_->item ()); // Does it match the constraint? if (interpreter.evaluate (visitor) == 1) { if (++current_position >= position) { - (*rec_list)[count] = (*this->iter_).int_id_; + (*rec_list)[count] = this->iter_->item (); // copy the log record. count++; } |