]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
src: fix build with debug off
authorFlorian Westphal <fw@strlen.de>
Mon, 7 Sep 2015 13:56:15 +0000 (15:56 +0200)
committerFlorian Westphal <fw@strlen.de>
Mon, 7 Sep 2015 13:56:15 +0000 (15:56 +0200)
mnl.c:241:1: error: expected identifier or '(' before '}' token

Signed-off-by: Florian Westphal <fw@strlen.de>
src/mnl.c

index 76a971405406d22d8695ce0e96c5c73cbdd384bb..cdceae67f6590923f1f5da1b8707141580b0819c 100644 (file)
--- a/src/mnl.c
+++ b/src/mnl.c
@@ -234,8 +234,8 @@ static ssize_t mnl_nft_socket_sendmsg(const struct mnl_socket *nl)
                                          iov[i].iov_base, iov[i].iov_len,
                                          sizeof(struct nfgenmsg));
                }
-#endif
        }
+#endif
 
        return sendmsg(mnl_socket_get_fd(nl), &msg, 0);
 }