diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-12-23 12:17:19 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-12-23 12:17:19 +0000 |
commit | 0b44089a1481cc5137102432c77f1e32fb4b5599 (patch) | |
tree | 27ac96e7375540ca104747fa2a69e832b8e0438d /protocols/ace | |
parent | 71beeb26a08d9554e7f1a51e55efbc285f597eaa (diff) | |
download | ATCD-0b44089a1481cc5137102432c77f1e32fb4b5599.tar.gz |
ChangeLogTag: Mon Dec 23 12:14:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'protocols/ace')
-rw-r--r-- | protocols/ace/RMCast/RMCast_Fragment.cpp | 4 | ||||
-rw-r--r-- | protocols/ace/RMCast/RMCast_IO_UDP.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/protocols/ace/RMCast/RMCast_Fragment.cpp b/protocols/ace/RMCast/RMCast_Fragment.cpp index 2d4389c1a92..7da6f4bf1a5 100644 --- a/protocols/ace/RMCast/RMCast_Fragment.cpp +++ b/protocols/ace/RMCast/RMCast_Fragment.cpp @@ -40,9 +40,9 @@ ACE_RMCast_Fragment::data (ACE_RMCast::Data &received_data) // We must leave room for the header #if defined (ACE_HAS_BROKEN_DGRAM_SENDV) - const int ACE_RMCAST_WRITEV_MAX = IOV_MAX - 2; + const int ACE_RMCAST_WRITEV_MAX = ACE_IOV_MAX - 2; #else - const int ACE_RMCAST_WRITEV_MAX = IOV_MAX - 1; + const int ACE_RMCAST_WRITEV_MAX = ACE_IOV_MAX - 1; #endif /* ACE_HAS_BROKEN_DGRAM_SENDV */ // Assume the header will be included on each fragment, so readuce diff --git a/protocols/ace/RMCast/RMCast_IO_UDP.cpp b/protocols/ace/RMCast/RMCast_IO_UDP.cpp index 7d2e093f44c..315d5c11f82 100644 --- a/protocols/ace/RMCast/RMCast_IO_UDP.cpp +++ b/protocols/ace/RMCast/RMCast_IO_UDP.cpp @@ -135,7 +135,7 @@ ACE_RMCast_IO_UDP::handle_input (ACE_HANDLE) // object, all we need is some sort of validation strategy, a // different one for the receiver and another one for the // sender. - + #if 0 if (type == ACE_RMCast::MT_ACK || type == ACE_RMCast::MT_JOIN @@ -167,7 +167,7 @@ ACE_RMCast_IO_UDP::handle_input (ACE_HANDLE) if ((proxy = allocate_and_bind_proxy(module,from_address)) == 0) return 0; } - + // Have the proxy process the message and do the right thing. if (proxy->receive_message (buffer, r) != 0) { @@ -253,7 +253,7 @@ ACE_RMCast_IO_UDP::send_data (ACE_RMCast::Data &data, ACE_OS::memcpy (header + 1 + 2 * sizeof(ACE_UINT32), &tmp, sizeof(ACE_UINT32)); - iovec iov[IOV_MAX]; + iovec iov[ACE_IOV_MAX]; int iovcnt = 1; iov[0].iov_base = header; |