Skip to content

Commit 1ffbabe

Browse files
committed
Fix a typo :)
1 parent a390ab0 commit 1ffbabe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

example/heart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ int main(int argc, char **argv) {
150150
rc.log_len = 10;
151151
rc.chunk_len = 4;
152152
rc.msg_len_max = 500;
153+
rc.userdata = state;
153154
rc.applier = applier;
154155
rc.snapshooter = snapshooter;
155156
raft = raft_init(&rc);

0 commit comments

Comments
 (0)