2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

corrected code style errors

- add missing brackets around one-line statements
- add paretheses around return values
This commit is contained in:
Evan Hunt
2024-10-17 13:22:48 -07:00
parent 8467449407
commit 5ea1f6390d
24 changed files with 129 additions and 113 deletions

View File

@@ -1144,7 +1144,7 @@ cfg_obj_isduration(const cfg_obj_t *obj) {
uint32_t
cfg_obj_asduration(const cfg_obj_t *obj) {
REQUIRE(obj != NULL && obj->type->rep == &cfg_rep_duration);
return isccfg_duration_toseconds(&(obj->value.duration));
return (isccfg_duration_toseconds(&(obj->value.duration)));
}
static isc_result_t