Commit 2f85054d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

libnetlink: Drop tailing whitespaces

Cosmetic change.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 4a015bba
......@@ -5,14 +5,14 @@
#include "util.h"
int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len)
{
{
memset(tb, 0, sizeof(struct rtattr *) * (max + 1));
while (RTA_OK(rta, len)) {
if ((rta->rta_type <= max) && (!tb[rta->rta_type]))
tb[rta->rta_type] = rta;
rta = RTA_NEXT(rta,len);
}
if (len)
if (len)
pr_warning("Trimmed RTA: len %d, rta_len %d\n", len, rta->rta_len);
return 0;
}
......
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