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 | 4d27f50748e18ea40cd3a914bc5b53c0c892eaf4 (patch) | |
tree | 10596ecd01467544dee29058f0901a7cfa022424 /qpid/cpp/examples/messaging/map_receiver.cpp | |
parent | 03045c0091b2e2b704b53c012d9d791569186c3e (diff) | |
download | qpid-python-4d27f50748e18ea40cd3a914bc5b53c0c892eaf4.tar.gz |
QPID-664: change cancel() to close() for consistency
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@903599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging/map_receiver.cpp')
-rw-r--r-- | qpid/cpp/examples/messaging/map_receiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/examples/messaging/map_receiver.cpp b/qpid/cpp/examples/messaging/map_receiver.cpp index f97c44eebd..0106ce878c 100644 --- a/qpid/cpp/examples/messaging/map_receiver.cpp +++ b/qpid/cpp/examples/messaging/map_receiver.cpp @@ -46,7 +46,7 @@ int main(int argc, char** argv) { MapView content(message); std::cout << content << std::endl; session.acknowledge(); - receiver.cancel(); + receiver.close(); connection.close(); return 0; } catch(const std::exception& error) { |