Commit 7690b4b7 authored by Willem Thiart's avatar Willem Thiart
Browse files

Refactor

parent 72e8f248
......@@ -52,8 +52,7 @@ static int __append_msg(
raft_server_t* raft
)
{
msg_t* m;
m = malloc(sizeof(msg_t));
msg_t* m = malloc(sizeof(msg_t));
m->type = type;
m->len = len;
m->data = malloc(len);
......
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