mirror of
https://github.com/systemd/systemd.git
synced 2025-03-22 06:50:18 +03:00
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 6399be223b73ce520654242ad08de387b08b738a
This commit is contained in:
parent
60cf40599a
commit
4365a481b6
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user