Commit 9651a97f authored by Willem Thiart's avatar Willem Thiart
Browse files

Fixes #41

Second if statement was redundant.
parent 883d0d24
...@@ -243,10 +243,6 @@ int raft_recv_appendentries_response(raft_server_t* me_, ...@@ -243,10 +243,6 @@ int raft_recv_appendentries_response(raft_server_t* me_,
else if (me->current_term != r->term) else if (me->current_term != r->term)
return 0; return 0;
/* stop processing, this is a node we don't have in our configuration */
if (!node)
return 0;
if (0 == r->success) if (0 == r->success)
{ {
/* If AppendEntries fails because of log inconsistency: /* If AppendEntries fails because of log inconsistency:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment