summaryrefslogtreecommitdiff
path: root/db/repl/multicmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/repl/multicmd.h')
-rw-r--r--db/repl/multicmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/multicmd.h b/db/repl/multicmd.h
index 61c9b5f..9eb9a17 100644
--- a/db/repl/multicmd.h
+++ b/db/repl/multicmd.h
@@ -43,7 +43,7 @@ namespace mongo {
void run() {
try {
ScopedConn c(d.toHost);
- d.ok = c->runCommand("admin", cmd, d.result);
+ d.ok = c.runCommand("admin", cmd, d.result);
}
catch(DBException&) {
DEV log() << "dev caught dbexception on multiCommand " << d.toHost << rsLog;