]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/src/controlclient.cpp
Se agrega namespace que faltaba.
[z.facultad/75.42/plaqui.git] / Server / src / controlclient.cpp
index 99c5348ff9821f555b1f9d375e5539fd9bdbd357..fd0fdba9e922e3df779ac0cec15b0033af451381 100644 (file)
@@ -37,7 +37,7 @@ PlaQui::Server::ControlClient::~ControlClient(void) {
 }
 
 PlaQui::Server::ControlClient::ControlClient(std::string host, int port):
 }
 
 PlaQui::Server::ControlClient::ControlClient(std::string host, int port):
-               Connection(sockbuf::sock_stream) {
+               PlaQui::Server::Connection(sockbuf::sock_stream) {
 #ifdef DEBUG
        std::cerr << __FILE__ << ": host" << host
                << " | port = " << port << std::endl;
 #ifdef DEBUG
        std::cerr << __FILE__ << ": host" << host
                << " | port = " << port << std::endl;
@@ -58,7 +58,7 @@ void PlaQui::Server::ControlClient::real_run(void) {
        } else {
                std::cerr << "Conectado a " << socket->peerhost() <<
                        ":" << socket->peerport() << "." << std::endl;
        } else {
                std::cerr << "Conectado a " << socket->peerhost() <<
                        ":" << socket->peerport() << "." << std::endl;
-#endif // DEBUG
        }
        }
+#endif // DEBUG
 }
 
 }