From 0b44089a1481cc5137102432c77f1e32fb4b5599 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 23 Dec 2002 12:17:19 +0000 Subject: ChangeLogTag: Mon Dec 23 12:14:12 UTC 2002 Johnny Willemsen --- protocols/ace/RMCast/RMCast_Fragment.cpp | 4 ++-- protocols/ace/RMCast/RMCast_IO_UDP.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'protocols/ace') 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; -- cgit v1.2.1