Commit f467ed39 authored by Michal Vaner's avatar Michal Vaner
Browse files

Codestyle fix

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-timeouts@3403 e5f2f494-b856-4b98-b285-d166d9295462
parent de6b350f
...@@ -231,7 +231,7 @@ namespace { ...@@ -231,7 +231,7 @@ namespace {
// This is just temporary so the interface change does not propagate too far // This is just temporary so the interface change does not propagate too far
struct ServerNotify : public UDPQuery::Callback { struct ServerNotify : public UDPQuery::Callback {
ServerNotify(DNSServer *server) : ServerNotify(DNSServer* server) :
server_(server) server_(server)
{ } { }
virtual void operator()(UDPQuery::Result result) { virtual void operator()(UDPQuery::Result result) {
...@@ -241,7 +241,7 @@ struct ServerNotify : public UDPQuery::Callback { ...@@ -241,7 +241,7 @@ struct ServerNotify : public UDPQuery::Callback {
private: private:
// FIXME This is said it does problems when it is shared pointer, as // FIXME This is said it does problems when it is shared pointer, as
// it is destroyed too soon. But who deletes it now? // it is destroyed too soon. But who deletes it now?
DNSServer *server_; DNSServer* server_;
}; };
} }
......
...@@ -210,7 +210,7 @@ public: ...@@ -210,7 +210,7 @@ public:
const isc::dns::Question& q, const isc::dns::Question& q,
const IOAddress& addr, uint16_t port, const IOAddress& addr, uint16_t port,
isc::dns::OutputBufferPtr buffer, isc::dns::OutputBufferPtr buffer,
Callback *callback, int timeout = -1); Callback* callback, int timeout = -1);
void operator()(asio::error_code ec = asio::error_code(), void operator()(asio::error_code ec = asio::error_code(),
size_t length = 0); size_t length = 0);
/// Terminate the query. /// Terminate the query.
...@@ -247,7 +247,7 @@ private: ...@@ -247,7 +247,7 @@ private:
boost::shared_array<char> data_; boost::shared_array<char> data_;
// This will be called when we are done. // This will be called when we are done.
Callback *callback_; Callback* callback_;
}; };
} }
......
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