BIND 10 trac493, updated. 6ed6d55c1e9908ce49d4ba2584c9d647c23908ba [trac493] Fix compile error.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 3 07:43:22 UTC 2011
The branch, trac493 has been updated
via 6ed6d55c1e9908ce49d4ba2584c9d647c23908ba (commit)
from ca06de9c9e5a017361041a7ce0db4bd37c27e0a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6ed6d55c1e9908ce49d4ba2584c9d647c23908ba
Author: zhanglikun <zhanglikun at cnnic.cn>
Date: Thu Mar 3 15:43:02 2011 +0800
[trac493] Fix compile error.
-----------------------------------------------------------------------
Summary of changes:
src/lib/cache/message_entry.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/cache/message_entry.cc b/src/lib/cache/message_entry.cc
index ee09f3e..9e82a9d 100644
--- a/src/lib/cache/message_entry.cc
+++ b/src/lib/cache/message_entry.cc
@@ -242,8 +242,8 @@ MessageEntry::parseNegativeResponseAuthoritySection(const isc::dns::Message& msg
Message::SECTION_AUTHORITY);
boost::shared_ptr<RRsetCache> rrset_cache_ptr = rrset_cache_;
if (rrset_ptr->getType() == RRType::SOA()) {
- rrset_cache_ptr.reset(negative_soa_cache_);
- }
+ rrset_cache_ptr = negative_soa_cache_;
+ }
RRsetEntryPtr rrset_entry = rrset_cache_ptr->update(*rrset_ptr, level);
rrsets_.push_back(RRsetRef(rrset_ptr->getName(),
More information about the bind10-changes
mailing list