From 259d2908e73710fb78f95cbdaf77a2c1d0ce09bb Mon Sep 17 00:00:00 2001 From: schmidt Date: Sat, 25 Oct 1997 01:02:41 +0000 Subject: *** empty log message *** --- TAO/tao/except.cpp | 4 +++- TAO/tests/Cubit/TAO/svr.cpp | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'TAO') diff --git a/TAO/tao/except.cpp b/TAO/tao/except.cpp index d2a6f7eae3b..851eabbf7f5 100644 --- a/TAO/tao/except.cpp +++ b/TAO/tao/except.cpp @@ -451,7 +451,9 @@ print_exception (const CORBA::Exception *x, // directly in the exception value so it can be queried. ACE_DEBUG ((LM_ERROR, "(%P|%t) system exception, ID '%s'\n", id)); - ACE_DEBUG ((LM_ERROR, "(%P|%t) minor code = %#lx, completed = %s", x2->minor (), + ACE_DEBUG ((LM_ERROR, + "(%P|%t) minor code = %#lx, completed = %s", + x2->minor (), (x2->completion () == CORBA::COMPLETED_YES) ? "YES" : (x2->completion () == CORBA::COMPLETED_NO) ? "NO" : (x2->completion () == CORBA::COMPLETED_MAYBE) ? "MAYBE" : diff --git a/TAO/tests/Cubit/TAO/svr.cpp b/TAO/tests/Cubit/TAO/svr.cpp index 7323fa034cb..b29bf59b00e 100644 --- a/TAO/tests/Cubit/TAO/svr.cpp +++ b/TAO/tests/Cubit/TAO/svr.cpp @@ -75,7 +75,7 @@ main (int argc, char *argv[]) } // Initialize the Basic Object Adapter - CORBA::POA_ptr oa_ptr = orb_ptr->POA_init (argc, argv ); + CORBA::POA_ptr oa_ptr = orb_ptr->POA_init (argc, argv); if (oa_ptr == 0) ACE_ERROR_RETURN ((LM_ERROR, " (%P|%t) Unable to initialize the POA.\n"), 1); @@ -145,5 +145,7 @@ main (int argc, char *argv[]) // Handle requests for this object until we're killed, or one of the // methods asks us to exit. - return orb_ptr->run (); + if (orb_ptr->run () == -1) + ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "run"), -1); + return 0; } -- cgit v1.2.1