]> granicus.if.org Git - libnl/commitdiff
exp: fix a GCC 6 -Wmisleading-indentation warning
authorPeter Wu <peter@lekensteyn.nl>
Mon, 8 Aug 2016 09:58:52 +0000 (11:58 +0200)
committerThomas Haller <thaller@redhat.com>
Sun, 14 Aug 2016 07:57:25 +0000 (09:57 +0200)
Replaced the spaces by tabs to fix it.

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Signed-off-by: Thomas Haller <thaller@redhat.com>
lib/netfilter/exp.c

index 650127c891d400bd1436027ad82a6762db8ae79e..24ec55f4c374e4daf6e72051c26807c308b1fd84 100644 (file)
@@ -357,10 +357,10 @@ static int nfnl_exp_build_tuple(struct nl_msg *msg, const struct nfnl_exp *exp,
 
        int type = exp_get_tuple_attr(cta);
 
-    if (cta == CTA_EXPECT_NAT)
-        tuple = nla_nest_start(msg, CTA_EXPECT_NAT_TUPLE);
-    else
-        tuple = nla_nest_start(msg, cta);
+       if (cta == CTA_EXPECT_NAT)
+               tuple = nla_nest_start(msg, CTA_EXPECT_NAT_TUPLE);
+       else
+               tuple = nla_nest_start(msg, cta);
 
        if (!tuple)
                goto nla_put_failure;