macro pedant
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
70aff8bf47
commit
ceb128190f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=119040
@ -2392,10 +2392,10 @@ ifflags(flags)
|
||||
strlcpy(buf, "", sizeof(buf));
|
||||
#define IFFLAG(s, f) \
|
||||
do { \
|
||||
if (flags & f) { \
|
||||
if (flags & (f)) { \
|
||||
if (buf[0]) \
|
||||
strlcat(buf, ",", sizeof(buf)); \
|
||||
strlcat(buf, s, sizeof(buf)); \
|
||||
strlcat(buf, (s), sizeof(buf)); \
|
||||
} \
|
||||
} while (0)
|
||||
IFFLAG("UP", IFF_UP);
|
||||
|
Loading…
Reference in New Issue
Block a user