From: Dave Hart Date: Sun, 5 Aug 2012 20:48:27 +0000 (+0000) Subject: Remove unneeded \ line continuation in ntp_config.c if condition. X-Git-Tag: NTP_4_2_7P294~1^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2f0361f9975dfaea2cbe0136df798ef867c64e0;p=thirdparty%2Fntp.git Remove unneeded \ line continuation in ntp_config.c if condition. Use INSIST() instead of equivalent NTP_INSIST in a few places. bk: 501edc1bdNKtMGPAmuwfPV9mD9l4Dg --- diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index caf6c5603..fcd1dd0c5 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -2693,7 +2693,7 @@ config_nic_rules( * other reason. */ match_type = MATCH_ALL; - NTP_INSIST(0); + INSIST(FALSE); break; case 0: @@ -2703,13 +2703,13 @@ config_nic_rules( * interface descriptor is either a name or * address, stored in if_name in either case. */ - NTP_INSIST(if_name != NULL); + INSIST(if_name != NULL); pchSlash = strchr(if_name, '/'); if (pchSlash != NULL) *pchSlash = '\0'; if (is_ip_address(if_name, AF_UNSPEC, &addr)) { match_type = MATCH_IFADDR; - if (pchSlash != NULL \ + if (pchSlash != NULL && 1 == sscanf(pchSlash + 1, "%d", &prefixlen)) { addrbits = 8 * @@ -2751,7 +2751,7 @@ config_nic_rules( * other reason. */ action = ACTION_LISTEN; - NTP_INSIST(0); + INSIST(FALSE); break; case T_Listen: