chunks have shorts

git-svn-id: svn://elaine/murooma/trunk@62 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
(no author) 2014-07-03 19:32:09 +00:00
parent ab215e07f5
commit 565f432df4

View file

@ -56,7 +56,7 @@ int main () {
// else if (diff_ms(now, ts) > 1000)
// ts = now;
chunk->tv_sec = (int16_t)now.tv_sec;
chunk->tv_sec = 1234;//(int16_t)now.tv_sec;
chunk->tv_usec = 0;//now.tv_usec;
zmq::message_t message(8*2*WIRE_CHUNK_SIZE);//sizeof(Chunk));
memcpy(message.data(), chunk, 8+2*WIRE_CHUNK_SIZE);//sizeof(Chunk));