diff options
| author | Gordon Sim <gsim@apache.org> | 2009-11-19 11:46:00 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-11-19 11:46:00 +0000 |
| commit | 1ea31fb5ea5e9240776600d81ae4742aefa51320 (patch) | |
| tree | 41416cfa50902b240ef8a7175ee15718a9dea91e /cpp/src/qpid/messaging/Address.cpp | |
| parent | 82faa3a8fe5406506855e99373734e84f3f0d581 (diff) | |
| download | qpid-python-1ea31fb5ea5e9240776600d81ae4742aefa51320.tar.gz | |
QPID-664: Add spout & drain examples as per python client
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882118 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/Address.cpp')
| -rw-r--r-- | cpp/src/qpid/messaging/Address.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/Address.cpp b/cpp/src/qpid/messaging/Address.cpp index fff7c453b8..5262cec0db 100644 --- a/cpp/src/qpid/messaging/Address.cpp +++ b/cpp/src/qpid/messaging/Address.cpp @@ -95,7 +95,7 @@ std::string Address::toStr() const std::stringstream out; out << impl->name; if (!impl->subject.empty()) out << SUBJECT_DIVIDER << impl->subject; - if (!impl->options.empty()) out << OPTIONS_DIVIDER << " {" << impl->options << "}"; + if (!impl->options.empty()) out << OPTIONS_DIVIDER << impl->options; return out.str(); } Address::operator bool() const { return !impl->name.empty(); } |
