Update sources to Clang 15 formatting

This commit is contained in:
Michal Nowak
2022-11-02 19:33:14 +01:00
parent 26a42ed1ac
commit afdb41a5aa
156 changed files with 1968 additions and 985 deletions

View File

@@ -110,10 +110,12 @@ main(int argc, char **argv) {
usage();
}
if (strcmp(argv[1], "master") == 0 ||
strcmp(argv[1], "primary") == 0) {
strcmp(argv[1], "primary") == 0)
{
zonetype = CFG_ZONE_PRIMARY;
} else if (strcmp(argv[1], "slave") == 0 ||
strcmp(argv[1], "secondary") == 0) {
strcmp(argv[1], "secondary") == 0)
{
zonetype = CFG_ZONE_SECONDARY;
} else if (strcmp(argv[1], "mirror") == 0) {
zonetype = CFG_ZONE_MIRROR;