diff options
author | Gordon Sim <gsim@apache.org> | 2010-01-27 10:42:19 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-01-27 10:42:19 +0000 |
commit | f13dceb97198486cd9bd9574babac6b39d05b1a6 (patch) | |
tree | 3e875358e2ba2a49fb7a27815c22a675e4f2e45b /cpp/examples/messaging/drain.cpp | |
parent | c5f105c31896a42c4a192b9585016aa92285e6ff (diff) | |
download | qpid-python-f13dceb97198486cd9bd9574babac6b39d05b1a6.tar.gz |
QPID-664: change cancel() to close() for consistency
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging/drain.cpp')
-rw-r--r-- | cpp/examples/messaging/drain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/messaging/drain.cpp b/cpp/examples/messaging/drain.cpp index 2bd9fcdac8..3834aa3dfd 100644 --- a/cpp/examples/messaging/drain.cpp +++ b/cpp/examples/messaging/drain.cpp @@ -111,7 +111,7 @@ int main(int argc, char** argv) std::cout << "')" << std::endl; session.acknowledge(); } - receiver.cancel(); + receiver.close(); session.close(); connection.close(); return 0; |