summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/ChangeLog6
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp6
-rw-r--r--TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp5
3 files changed, 17 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index d00ab41ba08..3ef66d64fa2 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,9 @@
+Thu Apr 04 07:06:33 2003 Pradeep Gore <pradeep@oomworks.com>
+
+ * orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp:
+ * orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp:
+ Added check for TAO_HAS_MINIMUM_CORBA in <handle_status>.
+
Fri Apr 4 07:05:29 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
* tests/Bug_1482_Regression/srver.bor: Fixed a typo. Thanks to
diff --git a/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp b/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp
index aac14f86134..6759b39ae83 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Periodic_Consumer_Command.cpp
@@ -255,6 +255,8 @@ TAO_NS_Periodic_Consumer_Command::handle_deactivate (ACE_ENV_SINGLE_ARG_DECL)
void
TAO_NS_Periodic_Consumer_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
{
+#if (TAO_HAS_MINIMUM_CORBA == 0)
+
TAO_NS_Periodic_Consumer* consumer = this->consumer ();
if (consumer == 0)
@@ -285,6 +287,10 @@ TAO_NS_Periodic_Consumer_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
ACE_DEBUG ((LM_DEBUG, "Consumeris_equivanent other exception.", this->name_.c_str ()));
}
ACE_ENDTRY;
+
+#else
+ return;
+#endif /* TAO_HAS_MINIMUM_CORBA */
}
void
diff --git a/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp b/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp
index 2e991be0cd5..cbbadabd956 100644
--- a/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/lib/Periodic_Supplier_Command.cpp
@@ -240,6 +240,8 @@ TAO_NS_Periodic_Supplier_Command::handle_deactivate (ACE_ENV_SINGLE_ARG_DECL)
void
TAO_NS_Periodic_Supplier_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
{
+#if (TAO_HAS_MINIMUM_CORBA == 0)
+
TAO_NS_Periodic_Supplier* supplier = this->supplier ();
if (supplier == 0)
@@ -270,6 +272,9 @@ TAO_NS_Periodic_Supplier_Command::handle_status (ACE_ENV_SINGLE_ARG_DECL)
ACE_DEBUG ((LM_DEBUG, "Supplieris_equivanent other exception.", this->name_.c_str ()));
}
ACE_ENDTRY;
+#else
+ return;
+#endif /* TAO_HAS_MINIMUM_CORBA */
}
void