diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-02 15:53:56 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-02 15:53:56 +0000 |
commit | 170df92c0f78235c811fe35be8c0417e4c3a150a (patch) | |
tree | 72b4d395b92fbf55998a99dc989813770ec6eacf | |
parent | 2f358a6ca6c949026a3961b538663aa57a732ded (diff) | |
download | ATCD-170df92c0f78235c811fe35be8c0417e4c3a150a.tar.gz |
Back to ACE_SUCCESS because the ACE library wouldn't compile otherwise
-rw-r--r-- | ace/Name_Request_Reply.cpp | 8 | ||||
-rw-r--r-- | ace/Name_Request_Reply.h | 4 |
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 |