summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ace/Name_Request_Reply.cpp8
-rw-r--r--ace/Name_Request_Reply.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/ace/Name_Request_Reply.cpp b/ace/Name_Request_Reply.cpp
index 84de11d560a..af96698cd9d 100644
--- a/ace/Name_Request_Reply.cpp
+++ b/ace/Name_Request_Reply.cpp
@@ -413,14 +413,14 @@ ACE_UINT32
ACE_Name_Reply::status (void) const
{
ACE_TRACE ("ACE_Name_Reply::status");
- return this->transfer_.type_ == ACE_Name_Reply::SUCCESS ? 0 : -1;
+ return this->transfer_.type_ == ACE_Name_Reply::ACE_SUCCESS ? 0 : -1;
}
void
ACE_Name_Reply::status (ACE_UINT32 s)
{
ACE_TRACE ("ACE_Name_Reply::status");
- this->transfer_.type_ = s == (ACE_UINT32) -1 ? ACE_Name_Reply::FAILURE : ACE_Name_Reply::SUCCESS;
+ this->transfer_.type_ = s == (ACE_UINT32) -1 ? ACE_Name_Reply::ACE_FAILURE : ACE_Name_Reply::ACE_SUCCESS;
}
// = Set/get the errno of a failed reply.
@@ -479,10 +479,10 @@ ACE_Name_Reply::dump (void) const
switch (this->msg_type ())
{
- case ACE_Name_Reply::SUCCESS:
+ case ACE_Name_Reply::ACE_SUCCESS:
ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("SUCCESS\n")));
break;
- case ACE_Name_Reply::FAILURE:
+ case ACE_Name_Reply::ACE_FAILURE:
ACE_DEBUG ((LM_DEBUG, ASYS_TEXT ("FAILURE\n")));
break;
default:
diff --git a/ace/Name_Request_Reply.h b/ace/Name_Request_Reply.h
index 2541ae721a2..7c680d2ed61 100644
--- a/ace/Name_Request_Reply.h
+++ b/ace/Name_Request_Reply.h
@@ -187,8 +187,8 @@ public:
enum Constants
{
/* Reply message types. */
- SUCCESS = 1, // Reply for successful operation.
- FAILURE = 2, // Reply for failed operation.
+ ACE_SUCCESS = 1, // Reply for successful operation.
+ ACE_FAILURE = 2, // Reply for failed operation.
/* Class-specific constant values. */
MAX_NAME_LENGTH = MAXPATHLEN + 1