X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/289cd57714db01c97f3fa7cb65efedf30114919f..9c0c758e9af50f624414decbaae43c04e8d8e3f9:/Server/src/tcpserver.cpp?ds=inline diff --git a/Server/src/tcpserver.cpp b/Server/src/tcpserver.cpp index d85490c..61d3e11 100644 --- a/Server/src/tcpserver.cpp +++ b/Server/src/tcpserver.cpp @@ -156,11 +156,9 @@ void TCPServer::real_run(void) throw() { // XXX connections_mutex.unlock(); // Si pongo el mutex antes del run(), // muere. // Conecto la señal para cuando termina una conexión, borrarla. - connection->signal_finished().connect( - SigC::bind( - SigC::slot_class(*this, - &TCPServer::on_connection_finished), - connection)); + connection->signal_finished().connect(SigC::bind( + SigC::slot_class(*this, &TCPServer::on_connection_finished), + connection)); connection->run(); } }