diff options
author | Kristina <kristina@10gen.com> | 2011-10-07 20:51:10 -0400 |
---|---|---|
committer | Kristina <kristina@10gen.com> | 2011-10-07 20:52:20 -0400 |
commit | f727f3b6feadd2583417eddb0991175c62183b33 (patch) | |
tree | d949f72836163d3d1cb49f6c98d97a88fa43b163 /db/repl | |
parent | fccf1190d8ad44e553e80938916bcd111d95b9a4 (diff) | |
download | mongo-f727f3b6feadd2583417eddb0991175c62183b33.tar.gz |
Initialize auth status in non-default hb ctor
Diffstat (limited to 'db/repl')
-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 3455805e045..38b6c9b4f6f 100644 --- a/db/repl/rs_member.h +++ b/db/repl/rs_member.h @@ -96,7 +96,7 @@ namespace mongo { bool changed(const HeartbeatInfo& old) const; }; - inline HeartbeatInfo::HeartbeatInfo(unsigned id) : _id(id) { + inline HeartbeatInfo::HeartbeatInfo(unsigned id) : _id(id), authIssue(false) { hbstate = MemberState::RS_UNKNOWN; health = -1.0; downSince = 0; |