mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
whitespace cleanups
This commit is contained in:
parent
28753933e0
commit
08cab16c60
2 changed files with 21 additions and 22 deletions
|
@ -240,11 +240,11 @@ static void * RecvFromIPPort(void *arg)
|
|||
/* Update OPAL model */
|
||||
OpalSetAsyncRecvIconStatus(msg->sequence, RecvID); /* Set the Status to the message ID */
|
||||
#elif PROTOCOL == GTNET_SKT
|
||||
uint32_t *imsg = (uint32_t *) msg;
|
||||
for (int i = 0; i < cnt; i++) {
|
||||
imsg[i] = ntohl(imsg[i]);
|
||||
uint32_t *imsg = (uint32_t *) msg;
|
||||
for (int i = 0; i < cnt; i++) {
|
||||
imsg[i] = ntohl(imsg[i]);
|
||||
mdldata[i] = (double) msg[i];
|
||||
}
|
||||
}
|
||||
#else
|
||||
#error Unknown protocol
|
||||
#endif
|
||||
|
|
|
@ -50,7 +50,6 @@ int socket_init(struct socket *s, Opal_GenAsyncParam_Ctrl IconCtrlStruct)
|
|||
return EIO;
|
||||
}
|
||||
|
||||
|
||||
OpalPrint("%s: Version : %s\n", PROGNAME, VERSION);
|
||||
OpalPrint("%s: Remote Address : %s\n", PROGNAME, IconCtrlStruct.StringParam[0]);
|
||||
OpalPrint("%s: Remote Port : %d\n", PROGNAME, (int) IconCtrlStruct.FloatParam[1]);
|
||||
|
|
Loading…
Add table
Reference in a new issue