BIND 10 master, updated. 05504fc9e53521a9e5f55f6dbfc619813a08c733 [master] create a real instance of IOMessage and pass it to lookup DNS callback
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu May 2 16:21:57 UTC 2013
The branch, master has been updated
via 05504fc9e53521a9e5f55f6dbfc619813a08c733 (commit)
from 70994c681382b8c8b8c220af97999c887e01a423 (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 05504fc9e53521a9e5f55f6dbfc619813a08c733
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu May 2 09:19:44 2013 -0700
[master] create a real instance of IOMessage and pass it to lookup DNS callback
some compilers complained about it if we pass a temporary, as they try to
copy it (IOMessage is nonopyable)
this should fix some error reports from buildbots
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiodns/sync_udp_server.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiodns/sync_udp_server.cc b/src/lib/asiodns/sync_udp_server.cc
index 79c0ba4..9a06691 100644
--- a/src/lib/asiodns/sync_udp_server.cc
+++ b/src/lib/asiodns/sync_udp_server.cc
@@ -107,8 +107,8 @@ SyncUDPServer::handleRead(const asio::error_code& ec, const size_t length) {
resume_called_ = false;
// Call the actual lookup
- (*lookup_callback_)(IOMessage(data_, length, *udp_socket_, udp_endpoint_),
- query_, answer_, output_buffer_, this);
+ const IOMessage message(data_, length, *udp_socket_, udp_endpoint_);
+ (*lookup_callback_)(message, query_, answer_, output_buffer_, this);
if (!resume_called_) {
isc_throw(isc::Unexpected,
More information about the bind10-changes
mailing list