resolve: disambiguate return statement
This works as expected, but coverity warns that it could be ambiguous and context
suggests the other way around. Add brackets to disambiguate.
CID#1535101
Follow-up for 6399be223b
This commit is contained in:
@@ -450,7 +450,7 @@ bool shall_synthesize_own_hostname_rrs(void) {
|
||||
if (r < 0 && r != -ENXIO)
|
||||
log_debug_errno(r, "Failed to parse $SYSTEMD_RESOLVED_SYNTHESIZE_HOSTNAME: %m");
|
||||
|
||||
return (cached = r != 0);
|
||||
return (cached = (r != 0));
|
||||
}
|
||||
|
||||
int dns_synthesize_answer(
|
||||
|
||||
Reference in New Issue
Block a user