mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
style lint
This commit is contained in:
@@ -28,14 +28,12 @@
|
|||||||
if (result != ISC_R_SUCCESS) goto cleanup; \
|
if (result != ISC_R_SUCCESS) goto cleanup; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set up a logging category according to the named.conf data
|
* Set up a logging category according to the named.conf data
|
||||||
* in 'ccat' and add it to 'lctx'.
|
* in 'ccat' and add it to 'lctx'.
|
||||||
*/
|
*/
|
||||||
static isc_result_t
|
static isc_result_t
|
||||||
category_fromconf(dns_c_logcat_t *ccat, isc_logconfig_t *lctx)
|
category_fromconf(dns_c_logcat_t *ccat, isc_logconfig_t *lctx) {
|
||||||
{
|
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
isc_logcategory_t *category;
|
isc_logcategory_t *category;
|
||||||
@@ -69,8 +67,7 @@ category_fromconf(dns_c_logcat_t *ccat, isc_logconfig_t *lctx)
|
|||||||
* in 'cchan' and add it to 'lctx'.
|
* in 'cchan' and add it to 'lctx'.
|
||||||
*/
|
*/
|
||||||
static isc_result_t
|
static isc_result_t
|
||||||
channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx)
|
channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx) {
|
||||||
{
|
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
isc_logdestination_t dest;
|
isc_logdestination_t dest;
|
||||||
unsigned int type;
|
unsigned int type;
|
||||||
@@ -147,8 +144,7 @@ channel_fromconf(dns_c_logchan_t *cchan, isc_logconfig_t *lctx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
isc_result_t
|
isc_result_t
|
||||||
ns_log_configure(isc_logconfig_t *lcctx, dns_c_logginglist_t *clog)
|
ns_log_configure(isc_logconfig_t *lcctx, dns_c_logginglist_t *clog) {
|
||||||
{
|
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
dns_c_logchan_t *cchan;
|
dns_c_logchan_t *cchan;
|
||||||
dns_c_logcat_t *ccat;
|
dns_c_logcat_t *ccat;
|
||||||
|
Reference in New Issue
Block a user