]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/serverconnection.cpp
Se corrige el bug encontrado por Nico.
[z.facultad/75.42/plaqui.git] / Server / src / serverconnection.cpp
index 5e159c3a8d61da16bfe1a84bb9100d6c3d11f663..a5cbea395c15b7e041060120801cbba87e5a812e 100644 (file)
@@ -37,21 +37,19 @@ PlaQui::Server::ServerConnection::~ServerConnection(void) {
 #endif // DEBUG
 }
 
-/*
 PlaQui::Server::ServerConnection::ServerConnection(const sockbuf::sockdesc& sd):
-               socket(sd) {
+               PlaQui::Server::Connection(sd) {
 #ifdef DEBUG
        std::cerr << __FILE__ << ": sd = " << sd.sock << std::endl;
 #endif // DEBUG
 }
 
 PlaQui::Server::ServerConnection::ServerConnection(sockbuf::type type):
-               socket(type) {
+               PlaQui::Server::Connection(type) {
 #ifdef DEBUG
        std::cerr << __FILE__ << ": type = " << type << std::endl;
 #endif // DEBUG
 }
-*/
 
 PlaQui::Server::ServerConnection::SignalCommandReceived&
 PlaQui::Server::ServerConnection::signal_command_received(void) {