summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-11-17 10:30:22 -0500
committerEliot Horowitz <eliot@10gen.com>2010-11-20 01:08:56 -0500
commit3f469b555721c37ecd989d7b7d86e122d5daca4d (patch)
treeaf1b7654c62878075fee34a58cba823d4d4e8df8
parenteb66a29554f56fd2dd858affa033be090c968355 (diff)
downloadmongo-3f469b555721c37ecd989d7b7d86e122d5daca4d.tar.gz
typo rsr1.6.5-rc1
-rw-r--r--db/repl/rs_member.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl/rs_member.h b/db/repl/rs_member.h
index 98328cfbe6d..099cb22b319 100644
--- a/db/repl/rs_member.h
+++ b/db/repl/rs_member.h
@@ -80,7 +80,7 @@ namespace mongo {
bool up() const { return health > 0; }
/** health is set to -1 on startup. that means we haven't even checked yet. 0 means we checked and it failed. */
- bool maybeUp() const { return health >= 0; }
+ bool maybeUp() const { return health != 0; }
long long timeDown() const; // ms