Commit c41c32c1 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1384] check correct value when getting iterator

parent 11a4fe2d
......@@ -751,10 +751,8 @@ public:
// Initialize the iterator if there's somewhere to point to
if (node_ != NULL && node_->getData() != DomainPtr()) {
dom_iterator_ = node_->getData()->begin();
if (separate_rrs_) {
if (dom_iterator_->second != NULL) {
rdata_iterator_ = dom_iterator_->second->getRdataIterator();
}
if (separate_rrs_ && dom_iterator_ != node_->getData()->end()) {
rdata_iterator_ = dom_iterator_->second->getRdataIterator();
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment