diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-18 02:29:54 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-09-18 02:29:54 +0000 |
commit | d4dcf7648ffc7247ad888664b76c65c8d6420fa1 (patch) | |
tree | 964d7b69a9155a76571a00202df1f894814567f3 | |
parent | 7e04000d98ef9e2b6ca9d3365ce7fcd0aa31f6c5 (diff) | |
download | ATCD-d4dcf7648ffc7247ad888664b76c65c8d6420fa1.tar.gz |
Another fix related to the ACE_IO_Vector -> iovec conversion.
Check: Thu Sep 17 18:52:14 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r-- | TAO/tao/GIOP.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/GIOP.cpp b/TAO/tao/GIOP.cpp index fdae2d26914..b42984fa9ee 100644 --- a/TAO/tao/GIOP.cpp +++ b/TAO/tao/GIOP.cpp @@ -187,7 +187,7 @@ writev_n (ACE_HANDLE h, iovec *iov, int iovcnt) writelen += n; while (s < iovcnt && n >= iov[s].iov_len) { - n -= iov[s].length (); + n -= iov[s].iov_len; s++; } if (n != 0) @@ -195,7 +195,7 @@ writev_n (ACE_HANDLE h, iovec *iov, int iovcnt) char* base = ACE_reinterpret_cast (char*, iov[s].iov_base); iov[s].iov_base = base + n; - iov[s].iov_len = iov[s].length () - n; + iov[s].iov_len = iov[s].iov_len - n; } } } |