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:
parent
290155dd9d
commit
392f3f25ea
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue