diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-08-10 07:42:22 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-08-10 07:42:22 +0000 |
commit | a25a9e7374e3d0a028fec6aad9447c3f10836202 (patch) | |
tree | e8d8c4b41a3c6bdaca7cd3028374dbd43a25f213 /TAO/utils/nslist | |
parent | 7ccd80e9a4ce079ca26ef0a0aefdf7ec6dd1a098 (diff) | |
download | ATCD-a25a9e7374e3d0a028fec6aad9447c3f10836202.tar.gz |
ChangeLogTag:Tue Aug 10 00:41:10 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/utils/nslist')
-rw-r--r-- | TAO/utils/nslist/nslist.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/utils/nslist/nslist.cpp b/TAO/utils/nslist/nslist.cpp index 5b2f7bfb8dc..62791689bf9 100644 --- a/TAO/utils/nslist/nslist.cpp +++ b/TAO/utils/nslist/nslist.cpp @@ -37,7 +37,7 @@ get_tag_name (CORBA::ULong tag, ACE_CString& tag_string) { if (tag == IOP::TAG_INTERNET_IOP) tag_string = "IIOP"; - else if (tag == TAO_TAG_UIOP_PROFILE) + else if (tag == TAO_TAG_UIOP_PROFILE) tag_string = "UIOP"; else if (tag == TAO_TAG_SHMEM_PROFILE) tag_string = "SHMEM"; @@ -53,11 +53,11 @@ get_tag_name (CORBA::ULong tag, ACE_CString& tag_string) static void display_endpoint_info (CORBA::Object_ptr obj) { - if ( CORBA::Object::is_nil (obj)) - { - ACE_DEBUG ((LM_DEBUG, "Nil\n")); - return; - } + if (CORBA::is_nil (obj)) + { + ACE_DEBUG ((LM_DEBUG, "Nil\n")); + return; + } TAO_Stub *stub = obj->_stubobj (); if (!stub) @@ -254,7 +254,7 @@ main (int argc, char *argv[]) else if (ACE_OS::strcmp (*argv, "--ctxior") == 0) { showCtxIOR = 1; - } + } else if (ACE_OS::strncmp (*argv, "--", 2) == 0) { ACE_DEBUG ((LM_DEBUG, "Usage: %s [[ --ior ][ --ctxior ] | --nsior ]\n", pname)); |