From 1ea31fb5ea5e9240776600d81ae4742aefa51320 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 19 Nov 2009 11:46:00 +0000 Subject: 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 --- cpp/src/qpid/messaging/Address.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/messaging/Address.cpp') 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(); } -- cgit v1.2.1