From: Dave Hart Date: Mon, 15 Apr 2024 23:27:13 +0000 (+0000) Subject: revert unintended change to "case BLAH:" label indent level in ntp_proto.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36532877feb9bd52f8ca10d7db1fc9fba8b4e70b;p=thirdparty%2Fntp.git revert unintended change to "case BLAH:" label indent level in ntp_proto.c bk: 661db7d1Ym86cA7hXFObWpiVPN-R_g --- diff --git a/ntpd/ntp_proto.c b/ntpd/ntp_proto.c index 8c5e7ccf5..f18c09376 100644 --- a/ntpd/ntp_proto.c +++ b/ntpd/ntp_proto.c @@ -2066,9 +2066,8 @@ receive( } } else if (peer->flip == 0) { if (0) { - } - else if (L_ISZERO(&p_org)) { - const char* action; + } else if (L_ISZERO(&p_org)) { + const char *action; #ifdef BUG3361 msyslog(LOG_INFO, @@ -2079,21 +2078,21 @@ receive( /**/ switch (hismode) { /* We allow 0org for: */ - case UCHAR_MAX: + case UCHAR_MAX: action = "Allow"; break; /* We disallow 0org for: */ - case MODE_UNSPEC: - case MODE_ACTIVE: - case MODE_PASSIVE: - case MODE_CLIENT: - case MODE_SERVER: - case MODE_BROADCAST: + case MODE_UNSPEC: + case MODE_ACTIVE: + case MODE_PASSIVE: + case MODE_CLIENT: + case MODE_SERVER: + case MODE_BROADCAST: action = "Drop"; peer->bogusorg++; peer->flash |= TEST2; /* bogus */ break; - default: + default: action = ""; /* for cranky compilers / MSVC */ INSIST(!"receive(): impossible hismode"); break;