summaryrefslogtreecommitdiff
path: root/db/dbclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbclient.h')
-rw-r--r--db/dbclient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/dbclient.h b/db/dbclient.h
index d804b0ff65b..d437e065d30 100644
--- a/db/dbclient.h
+++ b/db/dbclient.h
@@ -106,6 +106,7 @@ class DBClientConnection : boost::noncopyable {
auto_ptr<SockAddr> server;
bool failed; // true if some sort of fatal error has ever happened
public:
+ MessagingPort& port() { return p; }
bool isFailed() const { return failed; }
DBClientConnection() : failed(false) { }
bool connect(const char *serverHostname, string& errmsg);