1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fixed the error in opal client src code

This commit is contained in:
Marija Stevic 2015-09-24 19:14:51 +02:00
parent 290155dd9d
commit 392f3f25ea

View file

@ -132,7 +132,7 @@ static void *SendToIPPort(void *arg)
for (i = 0; i < msg.length; i++)
msg.data[i].f = (float) mdldata[i];
msg_size = MSG_LEN(msg.length);
msg_size = MSG_LEN(&msg);
/**********************************************************************/
/* Perform the actual write to the ip port */
@ -205,7 +205,7 @@ static void *RecvFromIPPort(void *arg)
if (msg.endian != MSG_ENDIAN_HOST)
msg_swap(&msg);
msg_size = MSG_LEN(msg.length);
msg_size = MSG_LEN(&msg);
/***********************************************************************/
if (n < 1) {