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 | ace2f0737955ca464442867ca1e8735d32bd81d7 (patch) | |
| tree | 4dc2f41b7c8402264727a7f2ba4a176b3ef1a43b /cpp | |
| parent | 88ed65881157acb7294d06c70df03c80a87361c9 (diff) | |
| download | qpid-python-ace2f0737955ca464442867ca1e8735d32bd81d7.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')
| -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(); |
