BIND 10 trac697, updated. f2256e0e6f8260cf8addd1511fe49eaacf22d2bf [trac697] move decls to instide try block
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Mar 17 09:07:49 UTC 2011
The branch, trac697 has been updated
via f2256e0e6f8260cf8addd1511fe49eaacf22d2bf (commit)
from 8d638e07f2347d5e713493ffed9659ea5048e872 (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 f2256e0e6f8260cf8addd1511fe49eaacf22d2bf
Author: Jelte Jansen <jelte at isc.org>
Date: Thu Mar 17 10:07:31 2011 +0100
[trac697] move decls to instide try block
-----------------------------------------------------------------------
Summary of changes:
src/lib/resolve/recursive_query.cc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/resolve/recursive_query.cc b/src/lib/resolve/recursive_query.cc
index e59f796..65545a4 100644
--- a/src/lib/resolve/recursive_query.cc
+++ b/src/lib/resolve/recursive_query.cc
@@ -620,9 +620,10 @@ public:
dlog("RTT: " + boost::lexical_cast<std::string>(rtt));
current_ns_address.updateRTT(rtt);
- Message incoming(Message::PARSE);
- InputBuffer ibuf(buffer_->getData(), buffer_->getLength());
try {
+ Message incoming(Message::PARSE);
+ InputBuffer ibuf(buffer_->getData(), buffer_->getLength());
+
incoming.fromWire(ibuf);
buffer_->clear();
More information about the bind10-changes
mailing list