diff options
| author | Gordon Sim <gsim@apache.org> | 2011-07-01 12:00:56 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-07-01 12:00:56 +0000 |
| commit | 1233bc87a07817a1869a6ff8eb74870154e31346 (patch) | |
| tree | 51c631f28562349306c0f1c7d911cfee9065b13e /cpp/src/qpid/messaging/AddressParser.cpp | |
| parent | f79ba92ffe3335b739bc060aeafd9de325d05ed3 (diff) | |
| download | qpid-python-1233bc87a07817a1869a6ff8eb74870154e31346.tar.gz | |
QPID-3330: Corrected handling of empty strings (using patch from Anthony Foglia) and added test case
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/AddressParser.cpp')
| -rw-r--r-- | cpp/src/qpid/messaging/AddressParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/AddressParser.cpp b/cpp/src/qpid/messaging/AddressParser.cpp index 4c8f35fbc5..83aca82be4 100644 --- a/cpp/src/qpid/messaging/AddressParser.cpp +++ b/cpp/src/qpid/messaging/AddressParser.cpp @@ -151,7 +151,7 @@ bool AddressParser::readValueIfExists(Variant& value) bool AddressParser::readString(std::string& value, char delimiter) { if (readChar(delimiter)) { - std::string::size_type start = current++; + std::string::size_type start = current; while (!eos()) { if (input.at(current) == delimiter) { if (current > start) { |
