diff options
author | gokhale <asgokhale@users.noreply.github.com> | 1998-01-21 18:37:06 +0000 |
---|---|---|
committer | gokhale <asgokhale@users.noreply.github.com> | 1998-01-21 18:37:06 +0000 |
commit | 7273071a4a8b77365923697ad2fef4db19ed5c35 (patch) | |
tree | 34deaa08a82a557f25def0af537fb00384ba7456 /TAO/tao/encode.cpp | |
parent | 1dca60ef86735f5bd7ac15b28b9f585973b47982 (diff) | |
download | ATCD-7273071a4a8b77365923697ad2fef4db19ed5c35.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/tao/encode.cpp')
-rw-r--r-- | TAO/tao/encode.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TAO/tao/encode.cpp b/TAO/tao/encode.cpp index 6ea62a79bf1..fe916f09271 100644 --- a/TAO/tao/encode.cpp +++ b/TAO/tao/encode.cpp @@ -318,6 +318,13 @@ TAO_Marshal_ObjRef::encode (CORBA::TypeCode_ptr, if (CORBA::is_nil (obj)) { + // encode an empty type_id i.e., an empty string + stream->put_ulong (1); + stream->put_char (0); + + // Number of profiles = 0 + stream->put_ulong (0); + return CORBA::TypeCode::TRAVERSE_CONTINUE; } else |