polypath.c:520:20: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context]
520 | *allreasonable *= reasonable;
| ^~
This is not really a very helpful suggstion because there is no &&=.
Happily the compiler doesn't (currently) complain about &= which is
the same when both arguments are bools.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
"%s has no suitable address to transmit %s",
interf->name, af_name(af));
- *allreasonable *= reasonable;
+ *allreasonable &= reasonable;
}
static bool_t polypath_sendmsg(void *commst, struct buffer_if *buf,