libt2n: (gerd) socket reconnect added (incl. unit tests)
[libt2n] / src / server.cpp
index 32dda77..62cf91c 100644 (file)
@@ -125,7 +125,7 @@ int server::add_connection(server_connection* newconn)
     newconn->set_server(this);
     connections[cid]=newconn;
 
-    // add all callbacks
+    // add all callbacks except new_connection
     for(int e=connection_closed; e != __events_end; e++)
     {
         std::list<boost::function<void (unsigned int)> >::iterator i,ie=callbacks[e].end();