diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-10 20:18:29 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-10 20:18:29 +0000 |
commit | 3f1ae211ecb774ff797c3615785ea5e3b3890056 (patch) | |
tree | 44678f6826c1f0a78b07b5a77a3a6fce2b9f0c97 | |
parent | 39705bef87524de189beeff81ca9debcc2a5b7cc (diff) | |
download | ATCD-3f1ae211ecb774ff797c3615785ea5e3b3890056.tar.gz |
The GIOP message type should inc 1 to access the message name strings right.
-rw-r--r-- | TAO/tao/GIOP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/GIOP.cpp b/TAO/tao/GIOP.cpp index 1fd25fe6dd3..348ab0aea7f 100644 --- a/TAO/tao/GIOP.cpp +++ b/TAO/tao/GIOP.cpp @@ -791,7 +791,7 @@ TAO_GIOP::message_name (TAO_GIOP::Message_Type which) "MessageError (either)" }; - int i = (int) which; + int i = (int) which + 1; // Add one since EndOfFile is -1. if (i > (int) (sizeof (msgnames) / sizeof (msgnames[0]))) |