summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-02-12 10:32:56 +0000
committerGordon Sim <gsim@apache.org>2007-02-12 10:32:56 +0000
commitcd8ccb1a691ef5eb260b165f08fd9a07d1e5867d (patch)
treee6fea6fb8ca32fc75a7eafe453c063a7d497e2a8
parent131046add6e4df6e853b2d988ce80810e1fc9d06 (diff)
downloadqpid-python-cd8ccb1a691ef5eb260b165f08fd9a07d1e5867d.tar.gz
* lib/client/Connection.h - changed default virtual host from '/' to '' as per QPID-349
* lib/client/ClientExchange.h - fixed typo in a comment git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@506406 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--cpp/lib/client/ClientExchange.h2
-rw-r--r--cpp/lib/client/Connection.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/client/ClientExchange.h b/cpp/lib/client/ClientExchange.h
index 296a1920a6..a8ac21fa9b 100644
--- a/cpp/lib/client/ClientExchange.h
+++ b/cpp/lib/client/ClientExchange.h
@@ -39,7 +39,7 @@ namespace client {
* of the binding and the type of exchange.
*
* There are some standard exchange instances that are predeclared
- * on all AMQP brokers. These are defined as statisc members
+ * on all AMQP brokers. These are defined as static members
* STANDARD_DIRECT_EXCHANGE, STANDARD_TOPIC_EXCHANGE and
* STANDARD_HEADERS_EXCHANGE. There is also the 'default' exchange
* (member DEFAULT_EXCHANGE) which is nameless and of type
diff --git a/cpp/lib/client/Connection.h b/cpp/lib/client/Connection.h
index 37e65e6099..05d139e99c 100644
--- a/cpp/lib/client/Connection.h
+++ b/cpp/lib/client/Connection.h
@@ -127,7 +127,7 @@ namespace client {
*/
void open(const std::string& host, int port = 5672,
const std::string& uid = "guest", const std::string& pwd = "guest",
- const std::string& virtualhost = "/");
+ const std::string& virtualhost = "");
/**
* Closes the connection. Any further use of this connection
* (without reopening it) will not succeed.