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:
@@ -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
|
||||
|
Reference in New Issue
Block a user