certi-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[certi-cvs] certi/libCERTI NM_Classes.cc


From: certi-cvs
Subject: [certi-cvs] certi/libCERTI NM_Classes.cc
Date: Sat, 03 May 2008 18:37:54 +0000

CVSROOT:        /sources/certi
Module name:    certi
Changes by:     Eric NOULARD <erk>      08/05/03 18:37:54

Modified files:
        libCERTI       : NM_Classes.cc 

Log message:
        Fix bug #23149 : uknown object class<0> exception in RTIA
        From Petr Gotthard

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/certi/libCERTI/NM_Classes.cc?cvsroot=certi&r1=3.1&r2=3.2

Patches:
Index: NM_Classes.cc
===================================================================
RCS file: /sources/certi/certi/libCERTI/NM_Classes.cc,v
retrieving revision 3.1
retrieving revision 3.2
diff -u -b -r3.1 -r3.2
--- NM_Classes.cc       26 Apr 2008 14:59:41 -0000      3.1
+++ NM_Classes.cc       3 May 2008 18:37:53 -0000       3.2
@@ -957,6 +957,7 @@
        /* handleArraySize was done by superclass */
        /* specific code (if any) goes here */
        msgBuffer.write_int32(object);  
+       msgBuffer.write_int32(objectClass);
        /* the value pre-encoded by the user (HLA 1.3) */
        for (i = 0 ; i < handleArraySize ; i++) {
                msgBuffer.write_int32(ValueArray[i].length) ;
@@ -970,6 +971,7 @@
        /* handleArraySize was done by superclass */
        /* specific code (if any) goes here */          
        object          = msgBuffer.read_int32();       
+       objectClass     = msgBuffer.read_int32();       
        for (i = 0 ; i < handleArraySize ; i ++) {
                ValueArray[i].length = msgBuffer.read_int32();
                msgBuffer.read_bytes(ValueArray[i].value, 
ValueArray[i].length);                




reply via email to

[Prev in Thread] Current Thread [Next in Thread]