diff options
author | Gordon Sim <gsim@apache.org> | 2010-08-20 07:15:53 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-08-20 07:15:53 +0000 |
commit | 6217978d75d7c80f3069e5c39a85f32d744f70e1 (patch) | |
tree | 4dc2f41b7c8402264727a7f2ba4a176b3ef1a43b /cpp/examples/messaging/drain.cpp | |
parent | 6c81457d6b3f54bc05a24f9d5a036aca7c887521 (diff) | |
download | qpid-python-6217978d75d7c80f3069e5c39a85f32d744f70e1.tar.gz |
Fix compile error on windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987391 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 8c3abdbb14..4901fb303f 100644 --- a/cpp/examples/messaging/drain.cpp +++ b/cpp/examples/messaging/drain.cpp @@ -102,7 +102,7 @@ int main(int argc, char** argv) } std::cout << "')" << std::endl; session.acknowledge(); - if (count and ++i == count) + if (count && ++i == count) break; } receiver.close(); |