summaryrefslogtreecommitdiff
path: root/ACE/apps/drwho/CM_Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/drwho/CM_Server.cpp')
-rw-r--r--ACE/apps/drwho/CM_Server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/apps/drwho/CM_Server.cpp b/ACE/apps/drwho/CM_Server.cpp
index 2b2da3abe51..5cca27910fc 100644
--- a/ACE/apps/drwho/CM_Server.cpp
+++ b/ACE/apps/drwho/CM_Server.cpp
@@ -21,7 +21,7 @@ CM_Server::open (short port_number)
if (this->sokfd_ < 0)
return -1;
- ACE_OS::memset (&this->sin_, sizeof this->sin_, 0);
+ ACE_OS::memset (&this->sin_, 0, sizeof this->sin_);
this->sin_.sin_family = AF_INET;
this->sin_.sin_port = htons (port_number);
this->sin_.sin_addr.s_addr = INADDR_ANY;