PATCH: disable warnings about unknown profiles



Hi,

I'm using orbit to call TAO servers that have multicomponent IORs - one
for IIOP and another for unix domain sockets (UIOP) for TAO processes on
the local machine.

Orbit works fine with these multicomponent IORs, except that is prints
our a load of cryptic messages to standard error. 

The following patch disables the warning as I think the ORB should
quietly ignore any valid profiles that it doesn't understand.

This doesn't apply just to TAO, I think Visibroker et al also have
profiles set up for local comms.

Regards,
Alex

--- orbit_object.c.orig	Wed Jan 30 09:50:53 2002
+++ orbit_object.c	Wed Jan 30 09:51:15 2002
@@ -298,7 +298,7 @@
 		break;
 
 	default:
-		g_warning("Unknown IOP profile");
+		/* g_warning("Unknown IOP profile"); */
 
 	case IOP_TAG_GENERIC_IOP:
 	case IOP_TAG_MULTIPLE_COMPONENTS:






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]