macro pedant
Obtained from: KAME MFC after: 1 week
This commit is contained in:
parent
6724ae5e2e
commit
8ef4eb362d
@ -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