POCO1.6 Sample EchoServer BUG #706

This commit is contained in:
Aleksandar Fabijanic 2015-02-03 20:18:38 -06:00
parent 74c24a3789
commit 319e2d80b5

View File

@ -116,7 +116,7 @@ public:
if (_socket.available())
{
int len = _socket.receiveBytes(_fifoIn);
_fifoIn.drain(_fifoOut.write(_fifoIn.buffer()));
_fifoIn.drain(_fifoOut.write(_fifoIn.buffer(), _fifoIn.used()));
}
}