*** src/lib/omniORB2/dynamic/typecode.cc Mon Jan 18 13:54:55 1999 --- newsrc/lib/omniORB2/dynamic/typecode.cc Mon Feb 8 15:05:20 1999 *************** *** 1348,1357 **** TypeCode_sequence::NP_marshalComplexParams(MemBufferedStream &s, TypeCode_offsetTable* otbl) const { - pd_length >>= s; if (!pd_complete) throw CORBA::BAD_TYPECODE(0, CORBA::COMPLETED_NO); TypeCode_marshaller::marshal(ToTcBase(pd_content), s, otbl); } TypeCode_base* --- 1348,1357 ---- TypeCode_sequence::NP_marshalComplexParams(MemBufferedStream &s, TypeCode_offsetTable* otbl) const { if (!pd_complete) throw CORBA::BAD_TYPECODE(0, CORBA::COMPLETED_NO); TypeCode_marshaller::marshal(ToTcBase(pd_content), s, otbl); + pd_length >>= s; } TypeCode_base* *************** *** 1362,1369 **** otbl->addEntry(otbl->currentOffset(), _ptr); - _ptr->pd_length <<= s; _ptr->pd_content = TypeCode_marshaller::unmarshal(s, otbl); _ptr->pd_complete = 1; return _ptr; --- 1362,1369 ---- otbl->addEntry(otbl->currentOffset(), _ptr); _ptr->pd_content = TypeCode_marshaller::unmarshal(s, otbl); + _ptr->pd_length <<= s; _ptr->pd_complete = 1; return _ptr;