From 3f469b555721c37ecd989d7b7d86e122d5daca4d Mon Sep 17 00:00:00 2001 From: dwight Date: Wed, 17 Nov 2010 10:30:22 -0500 Subject: typo rs --- db/repl/rs_member.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1