mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-16 10:36:17 +02:00
xxx
git-svn-id: svn://elaine/murooma/trunk@7 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
71949a8366
commit
1c4dc63a16
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ int main () {
|
|||
chunk.payload[idx++] = c;
|
||||
if (idx == size)
|
||||
{
|
||||
zmq::message_t message(size);
|
||||
zmq::message_t message(sizeof(Chunk));
|
||||
memcpy(message.data(), &chunk, sizeof(Chunk));
|
||||
// snprintf ((char *) message.data(), size, "%05d %d", zipcode, c);
|
||||
// message.data()[0] = c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue