]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/dccp/options.c
net: fix assignment of 0/1 to bool variables.
[mirror_ubuntu-artful-kernel.git] / net / dccp / options.c
index 4b2ab657ac8e616f415312d96a2b9c0189489a18..68fa6b7a3e016bbd7d9a3bf173040b39bc86eb20 100644 (file)
@@ -544,7 +544,7 @@ int dccp_insert_fn_opt(struct sk_buff *skb, u8 type, u8 feat,
        }
 
        if (unlikely(val == NULL || len == 0))
-               len = repeat_first = 0;
+               len = repeat_first = false;
        tot_len = 3 + repeat_first + len;
 
        if (DCCP_SKB_CB(skb)->dccpd_opt_len + tot_len > DCCP_MAX_OPT_LEN) {