Parcourir la source

[trac388] Comment & whitespace fix

Michal 'vorner' Vaner il y a 14 ans
Parent
commit
8f331c78a0

+ 1 - 1
src/lib/asiolink/dns_server.h

@@ -75,7 +75,7 @@ public:
         (*self_)(ec, length);
     }
 
-    /// \brief Stop current running server 
+    /// \brief Stop current running server
     virtual void stop() { self_->stop();}
 
     /// \brief Resume processing of the server coroutine after an 

+ 2 - 2
src/lib/asiolink/tcp_server.cc

@@ -68,9 +68,9 @@ TCPServer::operator()(error_code ec, size_t length) {
     /// Because the coroutine reeentry block is implemented as
     /// a switch statement, inline variable declarations are not
     /// permitted.  Certain variables used below can be declared here.
-    
+
     /// If user has stopped the server, we won't enter the
-    /// coroutine body, just return 
+    /// coroutine body, just return
     if (stopped_by_hand_) {
         return;
     }

+ 1 - 1
src/lib/asiolink/udp_server.cc

@@ -142,7 +142,7 @@ struct UDPServer::Data {
     size_t bytes_;
     bool done_;
 
-    //whether user implicitly stop the server
+    //whether user explicitly stop the server
     bool stopped_by_hand_;
 
     // Callback functions provided by the caller