Commit f7d5d843 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

cleanup: removed unnecessary lexical_cast.

should be trivial enough, skipping review.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2583 e5f2f494-b856-4b98-b285-d166d9295462
parent 3cc88bfa
......@@ -48,8 +48,6 @@
#include <auth/auth_srv.h>
#include <auth/asio_link.h>
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace isc;
......@@ -179,8 +177,7 @@ makeErrorMessage(Message& message, MessageRenderer& renderer,
if (verbose_mode) {
cerr << "[b10-auth] sending an error response (" <<
boost::lexical_cast<string>(renderer.getLength())
<< " bytes):\n" << message.toText() << endl;
renderer.getLength() << " bytes):\n" << message.toText() << endl;
}
}
}
......@@ -322,8 +319,8 @@ AuthSrvImpl::processNormalQuery(const IOMessage& io_message, Message& message,
response_renderer.setLengthLimit(udp_buffer ? remote_bufsize : 65535);
message.toWire(response_renderer);
if (verbose_mode_) {
cerr << "[b10-auth] sending a response (" <<
boost::lexical_cast<string>(response_renderer.getLength())
cerr << "[b10-auth] sending a response ("
<< response_renderer.getLength()
<< " bytes):\n" << message.toText() << endl;
}
......
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