summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.