Skip to content
Snippets Groups Projects
Commit 65f44e72 authored by armatusmiles's avatar armatusmiles
Browse files

[*] fix return values in _send_NLM_F_ACK_msg func

parent c5c71bc5
No related branches found
No related tags found
No related merge requests found
......@@ -30,10 +30,11 @@ static bool _send_NLM_F_ACK_msg(int fd)
ssize_t rc = sendmsg(fd, &msg, 0);
if (rc == -1) {
log_it(L_ERROR, "sendmsg failed");
return -1;
return false;
}
DAP_DELETE(nh);
return true;
}
static struct {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment