From dabd6aa38d39c78144856543809cb32d1da0dbbf Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 4 Jul 2013 17:56:12 +0200 Subject: remove trailing whitespaces --- netlink-notify.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/netlink-notify.c b/netlink-notify.c index b8eddc1..27f9986 100644 --- a/netlink-notify.c +++ b/netlink-notify.c @@ -272,7 +272,7 @@ static int msg_handler (struct sockaddr_nl *nl, struct nlmsghdr *msg) { case RTM_NEWADDR: rth = IFA_RTA (ifa); rtl = IFA_PAYLOAD (msg); - + while (rtl && RTA_OK (rth, rtl)) { if ((rth->rta_type == IFA_LOCAL /* IPv4 */ || rth->rta_type == IFA_ADDRESS /* IPv6 */) @@ -308,7 +308,7 @@ static int msg_handler (struct sockaddr_nl *nl, struct nlmsghdr *msg) { case RTM_DELADDR: rth = IFA_RTA (ifa); rtl = IFA_PAYLOAD (msg); - + while (rtl && RTA_OK (rth, rtl)) { if ((rth->rta_type == IFA_LOCAL /* IPv4 */ || rth->rta_type == IFA_ADDRESS /* IPv6 */) @@ -329,7 +329,7 @@ static int msg_handler (struct sockaddr_nl *nl, struct nlmsghdr *msg) { return 0; case RTM_NEWLINK: notifystr = newstr_link(TEXT_NEWLINK, name[ifi->ifi_index], ifi->ifi_flags); - + /* free only if interface goes down */ if (!(ifi->ifi_flags & CHECK_CONNECTED)) free_chain(&addresses_seen[ifi->ifi_index]); @@ -403,7 +403,7 @@ int main (int argc, char **argv) { printf ("%s: %s v%s (compiled: " __DATE__ ", " __TIME__ #if DEBUG ", with debug output" -#endif +#endif ")\n", argv[0], PROGNAME, VERSION); nls = open_netlink (); -- cgit v1.2.3-54-g00ecf