summaryrefslogtreecommitdiff
path: root/cpp/lib
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/lib')
-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 c008463ff6..4fa95a1439 100644
--- a/cpp/lib/client/Connection.h
+++ b/cpp/lib/client/Connection.h
@@ -145,7 +145,7 @@ class Connection : public ConnectionForChannel
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 = "/");
/**
* Close the connection with optional error information for the peer.