BIND 10 trac2160, updated. 9514bc87016b23bb56f615bc2dcb5f8d8f778a51 [2160] remove superfluous call to message->clear()

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Sep 3 10:42:36 UTC 2012


The branch, trac2160 has been updated
       via  9514bc87016b23bb56f615bc2dcb5f8d8f778a51 (commit)
      from  f328475860c3e2d69ec002a58fdc49e95e54619d (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 9514bc87016b23bb56f615bc2dcb5f8d8f778a51
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Sep 3 12:02:43 2012 +0200

    [2160] remove superfluous call to message->clear()

-----------------------------------------------------------------------

Summary of changes:
 src/lib/asiodns/sync_udp_server.cc |    1 -
 1 file changed, 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/asiodns/sync_udp_server.cc b/src/lib/asiodns/sync_udp_server.cc
index a31301d..037074a 100644
--- a/src/lib/asiodns/sync_udp_server.cc
+++ b/src/lib/asiodns/sync_udp_server.cc
@@ -116,7 +116,6 @@ SyncUDPServer::handleRead(const asio::error_code& ec, const size_t length) {
 
     // Make sure the buffers are fresh
     output_buffer_->clear();
-    query_->clear(isc::dns::Message::PARSE);
     answer_->clear(isc::dns::Message::RENDER);
 
     // Mark that we don't have an answer yet.



More information about the bind10-changes mailing list