X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/289cd57714db01c97f3fa7cb65efedf30114919f..1855f998e5c0e51e2c1958724ac84cc13a87d84c:/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(); } }