diff options
author | dwight <dwight@10gen.com> | 2010-11-17 10:30:22 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-11-20 01:08:56 -0500 |
commit | 3f469b555721c37ecd989d7b7d86e122d5daca4d (patch) | |
tree | af1b7654c62878075fee34a58cba823d4d4e8df8 | |
parent | eb66a29554f56fd2dd858affa033be090c968355 (diff) | |
download | mongo-3f469b555721c37ecd989d7b7d86e122d5daca4d.tar.gz |
typo rsr1.6.5-rc1
-rw-r--r-- | db/repl/rs_member.h | 2 |
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 |