diff options
author | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-31 17:40:36 +0000 |
---|---|---|
committer | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-31 17:40:36 +0000 |
commit | d9b829a84ba0ce99c0438d4692821b9b1577deb5 (patch) | |
tree | 0b7a1ae4c00228286b81df0ebf98a00a1736096d | |
parent | 18b52d76f849bda4ee6d517cb95aca9ee0a512e4 (diff) | |
download | ATCD-d9b829a84ba0ce99c0438d4692821b9b1577deb5.tar.gz |
adding DS library
-rw-r--r-- | modules/TAO/tao/Profile.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/TAO/tao/Profile.cpp b/modules/TAO/tao/Profile.cpp index 13b2f22d776..ba5f09a1906 100644 --- a/modules/TAO/tao/Profile.cpp +++ b/modules/TAO/tao/Profile.cpp @@ -466,6 +466,7 @@ TAO_Profile::get_policies (CORBA::PolicyList& pl CORBA::Policy_var policy; CORBA::ULong const length = policy_value_seq.length (); + CORBA::ULong temp_policy_length = policy_value_seq.length (); // Set the policy list length. pl.length (length); @@ -503,6 +504,9 @@ TAO_Profile::get_policies (CORBA::PolicyList& pl // spec. ptc/99-05-03 we just ignore these // un-understood policies. + temp_policy_length = temp_policy_length - 1; + pl.length (temp_policy_length); + if (TAO_debug_level >= 5) ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("The IOR contains unsupported ") |