Fixed CTests bugs, minor plugin enhancements, and removed old files
- Fixed incorrect message buffer size in sendCTRL function. - Fixed a bug in sendCTRLTest where not all DREF sizes were being set. - Increased message buffer size in sendReadTest to account for assumptions made by sendUDP. - Fixed a bug in updateLog where the log message would sometimes start with several null characters, causing the log message to be effectively ignored by fprintf. - The xpcPlugin Visual Studio solution now supports 32 bit and 64 bit builds. - Logging performed by the plugin now works correctly on Windows. - Long log messages are now truncated to 500 characters. Previously, messages over 500 characters would be omitted, and an error message logged in their place. - Several files which were incorrectly added to source control have been deleted.
This commit is contained in:
@@ -373,7 +373,7 @@ short sendPOSI(struct xpcSocket recfd, short ACNum, short numArgs, float valueAr
|
||||
|
||||
short sendCTRL(struct xpcSocket recfd, short numArgs, float valueArray[])
|
||||
{
|
||||
char message[22] = {0};
|
||||
char message[29] = {0};
|
||||
int i;
|
||||
short position = 5;
|
||||
|
||||
@@ -401,7 +401,7 @@ short sendCTRL(struct xpcSocket recfd, short numArgs, float valueArray[])
|
||||
position += sizeof(float);
|
||||
}
|
||||
|
||||
sendUDP(recfd, message, 22);
|
||||
sendUDP(recfd, message, 29);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user