Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Willemt Raft
Commits
37571ad1
Commit
37571ad1
authored
Nov 21, 2017
by
Willem Thiart
Browse files
Fix: raft_recv_appendentries_response documenation
parent
fcff7464
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/raft.h
View file @
37571ad1
...
...
@@ -422,7 +422,10 @@ int raft_recv_appendentries(raft_server_t* me,
/** Receive a response from an appendentries message we sent.
* @param[in] node The node who sent us this 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
,
raft_node_t
*
node
,
msg_appendentries_response_t
*
r
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment