mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-21 10:27:39 +02:00
y
git-svn-id: svn://elaine/murooma/trunk@155 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
a1487e5081
commit
bdb7eeb522
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public:
|
||||||
size_t written = 0;
|
size_t written = 0;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
written += boost::asio::write_some(*socket_, boost::asio::buffer(chunk.get() + written, sizeof(WireChunk) - written), error);
|
written += boost::asio::write(*socket_, boost::asio::buffer(chunk.get() + written, sizeof(WireChunk) - written), error);
|
||||||
}
|
}
|
||||||
while (written < sizeof(WireChunk));
|
while (written < sizeof(WireChunk));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue