diff options
-rw-r--r-- | TAO/ChangeLog | 7 | ||||
-rw-r--r-- | TAO/utils/nslist/nslist.cpp | 14 |
2 files changed, 14 insertions, 7 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index c6ba405bc73..604e918cd6d 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,10 @@ +Tue Aug 10 00:41:10 2004 Ossama Othman <ossama@dre.vanderbilt.edu> + + * utils/nslist/nslist.cpp (display_endpoint_info): + + Fixed compile-time error. "CORBA::is_nil()", not + "CORBA::Object::is_nil()". + Mon Aug 9 23:31:45 2004 J.T. Conklin <jtc@acorntoolworks.com> * orbsvcs/PSS/PSDL_Scope.cpp: 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)); |