diff options
Diffstat (limited to 'src/messages/MMonElection.h')
-rw-r--r-- | src/messages/MMonElection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages/MMonElection.h b/src/messages/MMonElection.h index 7594c49cc17..5adf6ff432b 100644 --- a/src/messages/MMonElection.h +++ b/src/messages/MMonElection.h @@ -48,7 +48,7 @@ public: MMonElection(int o, epoch_t e, MonMap *m) : Message(MSG_MON_ELECTION, HEAD_VERSION), fsid(m->fsid), op(o), epoch(e) { - m->encode(monmap_bl); + m->encode(monmap_bl, -1); } private: ~MMonElection() {} |