X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fclient.cpp;fp=source%2Fclient.cpp;h=8d61f3fa51e56c9a78d12a322e4ea973c9a479ba;hb=2e629085885b652a10d775695e63bc4892aa2eca;hp=0e87e205055f6a5c796ce40f53a056fc4293ca01;hpb=649ced5849086abe7711d588f95a48677936515a;p=xinema.git diff --git a/source/client.cpp b/source/client.cpp index 0e87e20..8d61f3f 100644 --- a/source/client.cpp +++ b/source/client.cpp @@ -89,6 +89,7 @@ void Client::process_command(const string &cmd) void Client::send_reply(const string &reply) { + Msp::MutexLock lock(mutex); socket->write(reply); socket->put('\n'); }