summaryrefslogtreecommitdiff
path: root/ACE/ace/Name_Request_Reply.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-12-27 10:06:22 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-12-27 10:06:22 +0000
commit271f18336ab57a857ab61aeb869bd9ae8ba0267e (patch)
treea83e14e83c810bfe7e286d1e79d880e604feab87 /ACE/ace/Name_Request_Reply.cpp
parentac3eeb4120494344bb8dec2cbf604da666dd77f2 (diff)
downloadATCD-271f18336ab57a857ab61aeb869bd9ae8ba0267e.tar.gz
Wed Dec 27 10:05:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Name_Request_Reply.cpp')
-rw-r--r--ACE/ace/Name_Request_Reply.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/Name_Request_Reply.cpp b/ACE/ace/Name_Request_Reply.cpp
index 4bffde68e86..e066b2ef4ac 100644
--- a/ACE/ace/Name_Request_Reply.cpp
+++ b/ACE/ace/Name_Request_Reply.cpp
@@ -513,9 +513,9 @@ ACE_Name_Reply::encode (void *&buf)
ACE_TRACE ("ACE_Name_Reply::encode");
int len = this->length (); // Get length *before* marshaling.
- this->transfer_.length_ = htonl (this->transfer_.length_);
- this->transfer_.type_ = htonl (this->transfer_.type_);
- this->transfer_.errno_ = htonl (this->transfer_.errno_);
+ this->transfer_.length_ = ACE_HTONL (this->transfer_.length_);
+ this->transfer_.type_ = ACE_HTONL (this->transfer_.type_);
+ this->transfer_.errno_ = ACE_HTONL (this->transfer_.errno_);
buf = (void *) &this->transfer_;
return len;
}