]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
whitespace
authorRoy Marples <roy@marples.name>
Fri, 13 May 2016 13:59:24 +0000 (13:59 +0000)
committerRoy Marples <roy@marples.name>
Fri, 13 May 2016 13:59:24 +0000 (13:59 +0000)
if-linux.c

index 040ebf9022fc2f4fd21aa87f292adc419a88eb2b..3cadbe88f325e245d3850ad16187a757f80c6377 100644 (file)
@@ -392,7 +392,7 @@ get_netlink(struct dhcpcd_ctx *ctx, struct interface *ifp, int fd, int flags,
                        r = err_netlink(nlm);
                        if (r == -1)
                                goto eexit;
-                       
+
                        if (r == 0 && callback) {
                                r = callback(ctx, ifp, nlm);
                                if (r != 0)
@@ -1019,7 +1019,9 @@ nla_next(struct nlattr *nla, size_t *rem)
        (nla)->nla_len <= rem)
 #define NLA_DATA(nla) ((char *)(nla) + NLA_HDRLEN)
 #define NLA_FOR_EACH_ATTR(pos, head, len, rem) \
-       for (pos = head, rem = len; NLA_OK(pos, rem); pos = nla_next(pos, &(rem)))
+       for (pos = head, rem = len; \
+            NLA_OK(pos, rem); \
+            pos = nla_next(pos, &(rem)))
 
 struct nlmg
 {