summaryrefslogtreecommitdiff
path: root/db/repl
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-01-03 12:07:04 -0500
committerEliot Horowitz <eliot@10gen.com>2011-01-03 13:16:13 -0500
commit310507046010c0bf447db25859bc142c1a4ee492 (patch)
tree181f2806ac8883a55d041a7b1d0292542b064b04 /db/repl
parent0721557a2abfcd227c37d4d0f913d449204c9987 (diff)
downloadmongo-310507046010c0bf447db25859bc142c1a4ee492.tar.gz
more Client cleaning
Diffstat (limited to 'db/repl')
-rw-r--r--db/repl/heartbeat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/heartbeat.cpp b/db/repl/heartbeat.cpp
index 8eb3f488470..80216da214d 100644
--- a/db/repl/heartbeat.cpp
+++ b/db/repl/heartbeat.cpp
@@ -65,7 +65,7 @@ namespace mongo {
/* we want to keep heartbeat connections open when relinquishing primary. tag them here. */
{
- MessagingPort *mp = cc()._mp;
+ MessagingPort *mp = cc().port();
if( mp )
mp->tag |= 1;
}