commit | b594e8defacae06fee1f01dff4fbb6ff44f8a7c9 | [log] [tgz] |
---|---|---|
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | Fri Mar 06 10:31:17 2020 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sun Mar 08 15:10:27 2020 +0000 |
tree | d6081b903d42a993ec8ee5bdb5b6220d0a1af8ac | |
parent | 70c50efd0d001a9819a746b60605835cfeca1e7d [diff] |
rfc3315: fix incorrect logical '&&' warning rfc3315.c:1711:28: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if (!(addr_list->flags && ADDRLIST_DECLINED) || ^ ~~~~~~~~~~~~~~~~~ It's a flag bit so should be bitwise '&' operator Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>