[svn] commit: r3403 - in /branches/vorner-recursor-timeouts/src/lib/asiolink: asiolink.cc internal/udpdns.h

BIND 10 source code commits bind10-changes at lists.isc.org
Sat Oct 30 13:46:21 UTC 2010


Author: vorner
Date: Sat Oct 30 13:46:20 2010
New Revision: 3403

Log:
Codestyle fix

Modified:
    branches/vorner-recursor-timeouts/src/lib/asiolink/asiolink.cc
    branches/vorner-recursor-timeouts/src/lib/asiolink/internal/udpdns.h

Modified: branches/vorner-recursor-timeouts/src/lib/asiolink/asiolink.cc
==============================================================================
--- branches/vorner-recursor-timeouts/src/lib/asiolink/asiolink.cc (original)
+++ branches/vorner-recursor-timeouts/src/lib/asiolink/asiolink.cc Sat Oct 30 13:46:20 2010
@@ -231,7 +231,7 @@
 
 // This is just temporary so the interface change does not propagate too far
 struct ServerNotify : public UDPQuery::Callback {
-        ServerNotify(DNSServer *server) :
+        ServerNotify(DNSServer* server) :
             server_(server)
         { }
         virtual void operator()(UDPQuery::Result result) {
@@ -241,7 +241,7 @@
     private:
         // FIXME This is said it does problems when it is shared pointer, as
         // it is destroyed too soon. But who deletes it now?
-        DNSServer *server_;
+        DNSServer* server_;
 };
 
 }

Modified: branches/vorner-recursor-timeouts/src/lib/asiolink/internal/udpdns.h
==============================================================================
--- branches/vorner-recursor-timeouts/src/lib/asiolink/internal/udpdns.h (original)
+++ branches/vorner-recursor-timeouts/src/lib/asiolink/internal/udpdns.h Sat Oct 30 13:46:20 2010
@@ -210,7 +210,7 @@
                       const isc::dns::Question& q,
                       const IOAddress& addr, uint16_t port,
                       isc::dns::OutputBufferPtr buffer,
-                      Callback *callback, int timeout = -1);
+                      Callback* callback, int timeout = -1);
     void operator()(asio::error_code ec = asio::error_code(),
                     size_t length = 0);
     /// Terminate the query.
@@ -247,7 +247,7 @@
     boost::shared_array<char> data_;
 
     // This will be called when we are done.
-    Callback *callback_;
+    Callback* callback_;
 };
 }
 




More information about the bind10-changes mailing list