diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2010-12-23 17:11:57 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2010-12-23 17:11:57 +0000 |
| commit | c3d6047e94210bd35f7c35b9bba0bc2e60841fa7 (patch) | |
| tree | 6e6ab77a94534863b37069f7b48c82b2bd411f51 /cpp/src/qpid/sys/rdma/RdmaServer.cpp | |
| parent | ff152807775cf3ad146742a59bbe44146cbb9a34 (diff) | |
| download | qpid-python-c3d6047e94210bd35f7c35b9bba0bc2e60841fa7.tar.gz | |
Rename Rdma send buffer operations.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052331 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/rdma/RdmaServer.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/rdma/RdmaServer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/rdma/RdmaServer.cpp b/cpp/src/qpid/sys/rdma/RdmaServer.cpp index 33bb8247a1..9b0710fd8f 100644 --- a/cpp/src/qpid/sys/rdma/RdmaServer.cpp +++ b/cpp/src/qpid/sys/rdma/RdmaServer.cpp @@ -80,7 +80,7 @@ void dataError(Rdma::AsynchIO&) { void idle(ConRec* cr, Rdma::AsynchIO& a) { // Need to make sure full is not called as it would reorder messages while (!cr->queuedWrites.empty() && a.writable()) { - Rdma::Buffer* rbuf = a.getBuffer(); + Rdma::Buffer* rbuf = a.getSendBuffer(); if (!rbuf) break; Buffer* buf = cr->queuedWrites.front(); cr->queuedWrites.pop(); @@ -95,7 +95,7 @@ void data(ConRec* cr, Rdma::AsynchIO& a, Rdma::Buffer* b) { // Echo data back Rdma::Buffer* buf = 0; if (cr->queuedWrites.empty() && a.writable()) { - buf = a.getBuffer(); + buf = a.getSendBuffer(); } if (buf) { std::copy(b->bytes(), b->bytes()+b->dataCount(), buf->bytes()); |
