Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/willemt/raft
Browse files Browse the repository at this point in the history
  • Loading branch information
skorokhod committed Jun 25, 2017
2 parents b8dacf0 + 9b34fef commit df36251
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/raft_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -909,8 +909,8 @@ int raft_apply_all(raft_server_t* me_)
while (raft_get_last_applied_idx(me_) < raft_get_commit_idx(me_))
{
int e = raft_apply_entry(me_);
if (RAFT_ERR_SHUTDOWN == e)
return RAFT_ERR_SHUTDOWN;
if (0 != e)
return e;
}

return 0;
Expand Down

0 comments on commit df36251

Please sign in to comment.