summaryrefslogtreecommitdiff
path: root/ACE/protocols
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2012-12-17 09:33:03 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2012-12-17 09:33:03 +0000
commit7d279a23f8301bf5f1db214175463606e85def76 (patch)
treed97a38ed0fb802ee848edf8fbcfc064758f93b44 /ACE/protocols
parent7e4c1e0cdc16b3814749109c055f81963afdd44b (diff)
downloadATCD-7d279a23f8301bf5f1db214175463606e85def76.tar.gz
Mon Dec 17 09:31:49 UTC 2012 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Acceptor.cpp: Fixed one-shot acceptor, could call null ptr * ace/Throughput_Stats.cpp: Simplified code * protocols/tests/RMCast/Receiver.cpp: Fixed incorrect argument to memcpy
Diffstat (limited to 'ACE/protocols')
-rw-r--r--ACE/protocols/tests/RMCast/Receiver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/protocols/tests/RMCast/Receiver.cpp b/ACE/protocols/tests/RMCast/Receiver.cpp
index 59dde33a069..75969740aea 100644
--- a/ACE/protocols/tests/RMCast/Receiver.cpp
+++ b/ACE/protocols/tests/RMCast/Receiver.cpp
@@ -101,7 +101,7 @@ ACE_TMAIN (int argc, ACE_TCHAR* argv[])
if (ACE_OS::memcmp (expected_msg.payload,
msg.payload,
- payload_size) != 0)
+ payload_size * sizeof(short)) != 0)
{
damaged[msg.sn] = 1;
}