summaryrefslogtreecommitdiff
path: root/TAO/tao/Object_KeyC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Object_KeyC.cpp')
-rw-r--r--TAO/tao/Object_KeyC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Object_KeyC.cpp b/TAO/tao/Object_KeyC.cpp
index 7c673f39ba0..577447e433e 100644
--- a/TAO/tao/Object_KeyC.cpp
+++ b/TAO/tao/Object_KeyC.cpp
@@ -233,7 +233,7 @@ TAO::ObjectKey::demarshal_key (TAO::ObjectKey &key,
return strm.read_octet_array (key.get_buffer (),
_tao_seq_len);
#else /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
- return strm.read_octet_array (key.get_buffer (), key.length ());
+ return strm.read_octet_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
#endif /* TAO_NO_COPY_OCTET_SEQUENCES == 0 */
}