Commit 37571ad1 authored by Willem Thiart's avatar Willem Thiart
Browse files

Fix: raft_recv_appendentries_response documenation

parent fcff7464
...@@ -422,7 +422,10 @@ int raft_recv_appendentries(raft_server_t* me, ...@@ -422,7 +422,10 @@ int raft_recv_appendentries(raft_server_t* me,
/** Receive a response from an appendentries message we sent. /** Receive a response from an appendentries message we sent.
* @param[in] node The node who sent us this message * @param[in] node The node who sent us this message
* @param[in] r The appendentries response message * @param[in] r The appendentries response message
* @return 0 on success */ * @return
* 0 on success;
* -1 on error;
* RAFT_ERR_NOT_LEADER server is not the leader */
int raft_recv_appendentries_response(raft_server_t* me, int raft_recv_appendentries_response(raft_server_t* me,
raft_node_t* node, raft_node_t* node,
msg_appendentries_response_t* r); msg_appendentries_response_t* r);
......
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