scrub out whitespace issues
Run script that removes trailing whitespace everywhere.
diff --git a/lib/coverity_model.c b/lib/coverity_model.c
index c896302..1321fe8 100644
--- a/lib/coverity_model.c
+++ b/lib/coverity_model.c
@@ -15,5 +15,3 @@
* Coverity Scan doesn't pick up modifications automatically. The model file
* must be uploaded by an admin.
*/
-
-
diff --git a/lib/dnet_ntop.c b/lib/dnet_ntop.c
index 507a7eb..112dc0d 100644
--- a/lib/dnet_ntop.c
+++ b/lib/dnet_ntop.c
@@ -98,5 +98,3 @@
return NULL;
}
-
-
diff --git a/lib/inet_proto.c b/lib/inet_proto.c
index 57a8351..ceda082 100644
--- a/lib/inet_proto.c
+++ b/lib/inet_proto.c
@@ -67,5 +67,3 @@
}
return -1;
}
-
-
diff --git a/lib/ipx_ntop.c b/lib/ipx_ntop.c
index 1e46bc2..5f646b3 100644
--- a/lib/ipx_ntop.c
+++ b/lib/ipx_ntop.c
@@ -68,5 +68,3 @@
return NULL;
}
-
-
diff --git a/lib/libgenl.c b/lib/libgenl.c
index acb1478..a1a37a4 100644
--- a/lib/libgenl.c
+++ b/lib/libgenl.c
@@ -60,4 +60,3 @@
return genl_parse_getfamily(&req.n);
}
-
diff --git a/lib/libnetlink.c b/lib/libnetlink.c
index 245c4ca..a90e52c 100644
--- a/lib/libnetlink.c
+++ b/lib/libnetlink.c
@@ -158,7 +158,7 @@
struct nlmsgerr *err = (struct nlmsgerr*)NLMSG_DATA(h);
if (h->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr)))
fprintf(stderr, "ERROR truncated\n");
- else
+ else
errno = -err->error;
return -1;
}
diff --git a/lib/utils.c b/lib/utils.c
index bd58427..b93b1dc 100644
--- a/lib/utils.c
+++ b/lib/utils.c
@@ -95,7 +95,7 @@
/* try coverting dotted quad to CIDR */
if (!get_addr_1(&addr, arg, AF_INET) && addr.family == AF_INET) {
int b = mask2bits(addr.data[0]);
-
+
if (b >= 0) {
*val = b;
return 0;
@@ -191,7 +191,7 @@
*val = t;
if (*val < t)
*val += 1;
-
+
return 0;
}
@@ -363,7 +363,7 @@
for (i = 0; i < 4; i++) {
unsigned long n;
char *endp;
-
+
n = strtoul(cp, &endp, 0);
if (n > 255)
return -1; /* bogus network value */