]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 2623] Missing {} in refclock_oncore.c
authorHarlan Stenn <stenn@ntp.org>
Wed, 16 Jul 2014 04:17:40 +0000 (04:17 +0000)
committerHarlan Stenn <stenn@ntp.org>
Wed, 16 Jul 2014 04:17:40 +0000 (04:17 +0000)
bk: 53c5fce4dRk5dPNDgVyIqkw2MXKQuA

ChangeLog
ntpd/refclock_oncore.c

index a2b828bac02a4ec28903f6641be3253858c50b89..7f96d10d2b7d15a70d9a53a5ac7e6055cbe0ae72 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* [Bug 2623] Missing {} in refclock_oncore.c.
 (4.2.7p448) 2014/07/15 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 2621] Avoid use of indeterminate address after 'free()'
   (minor C standard conformance issue)
index b6e7a40b6cd73c5fb3371cc8c64a8ea5afbd1198..d05d9e4a0be8699f85c551a1fedbbe09e8539ec8 100644 (file)
@@ -3446,9 +3446,10 @@ oncore_check_leap_sec(
                else if (instance->count4++ > 5) {      /* delay, waiting for Gj response */
                        instance->saw_Gj = -1;          /* didnt see it, will use Bj */
                        instance->count4 = 0;
-                       if ((instance->BEHa[4] == 6) || (instance->BEHa[4] == 12))
+                       if ((instance->BEHa[4] == 6) || (instance->BEHa[4] == 12)) {
                                oncore_sendmsg(instance, oncore_cmd_Bj, sizeof(oncore_cmd_Bj));
                                oncore_sendmsg(instance, oncore_cmd_Bl, sizeof(oncore_cmd_Bl));
+                       }
                }
        }
 }