adjust clang-format options to get closer to ISC style See merge request isc-projects/bind9!3061 (cherry picked from commitd3b49b6675)0255a974revise .clang-format and add a C formatting script in utile851ed0bapply the modified style
20 lines
350 B
C
20 lines
350 B
C
/*
|
|
* Copyright (C) 2009-2015 Red Hat ; see COPYRIGHT for license
|
|
*/
|
|
|
|
#include "log.h"
|
|
|
|
#include <isc/util.h>
|
|
|
|
#include <dns/log.h>
|
|
|
|
void
|
|
log_write(int level, const char *format, ...) {
|
|
va_list args;
|
|
|
|
va_start(args, format);
|
|
isc_log_vwrite(dns_lctx, DNS_LOGCATEGORY_DATABASE, DNS_LOGMODULE_DYNDB,
|
|
level, format, args);
|
|
va_end(args);
|
|
}
|