[Git][NTPsec/ntpsec][working] Reverted incorrect formatting change.
Ian Bruene
gitlab at mg.gitlab.com
Wed Jul 4 19:30:20 UTC 2018
Ian Bruene pushed to branch working at NTPsec / ntpsec
Commits:
4e62c673 by Ian Bruene at 2018-07-04T19:30:15Z
Reverted incorrect formatting change.
- - - - -
1 changed file:
- tests/libntp/ntp_calendar.c
Changes:
=====================================
tests/libntp/ntp_calendar.c
=====================================
--- a/tests/libntp/ntp_calendar.c
+++ b/tests/libntp/ntp_calendar.c
@@ -26,13 +26,13 @@ static const char *DateToString(char *str, const struct calendar *cal) {
static bool IsEqualDate(const struct calendar *expected,
- const struct calendar *actual) {
+ const struct calendar *actual) {
char str[255];
char str1[255];
if (expected->year == actual->year &&
- (!expected->yearday || expected->yearday == actual->yearday) &&
- expected->month == actual->month &&
- expected->monthday == actual->monthday) {
+ (!expected->yearday || expected->yearday == actual->yearday) &&
+ expected->month == actual->month &&
+ expected->monthday == actual->monthday) {
return true;
} else {
printf("Expected: %s but was %s\n",
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4e62c673033d17d56333c7a762ab4ef5c8f904b5
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/4e62c673033d17d56333c7a762ab4ef5c8f904b5
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180704/4dbb85e5/attachment.html>
More information about the vc
mailing list