diff options
Diffstat (limited to 'src/syncServer.cpp')
-rw-r--r-- | src/syncServer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syncServer.cpp b/src/syncServer.cpp index ea6df4b..1468d74 100644 --- a/src/syncServer.cpp +++ b/src/syncServer.cpp @@ -32,6 +32,7 @@ void SyncServer::handle_accept(SyncTcpConnection::pointer new_connection, { if (!error) { + new_connection->onConnect=onConnect; new_connection->start(); start_accept(); } |