debug cleanup

This commit is contained in:
rakslice 2025-01-30 03:44:50 -08:00
parent 70507f89da
commit ca8e10b2df
2 changed files with 4 additions and 4 deletions

View File

@ -226,12 +226,12 @@ time_t MacTimeToTime(uint32 t)
}
}
#if DEBUG
uint32 round_trip_val = TimeToMacTime(out);
D(bug("MacTimeToTime: round trip %u -> %ld -> %u\n", t, out, round_trip_val));
#if DEBUG
struct tm * show = localtime(&out);
D(bug("%s", asctime(show)));
D(bug(" %s", asctime(show)));
if (t != round_trip_val) {
D(bug("MacTimeToTime: Round-Trip Value Disagrees\n"));
}

View File

@ -486,12 +486,12 @@ time_t MacTimeToTime(uint32 t)
}
}
#if DEBUG
uint32 round_trip_val = TimeToMacTime(out);
D(bug("MacTimeToTime: round trip %u -> %ld -> %u\n", t, out, round_trip_val));
#if DEBUG
struct tm * show = localtime(&out);
D(bug("%s", asctime(show)));
D(bug(" %s", asctime(show)));
if (t != round_trip_val) {
D(bug("MacTimeToTime: Round-Trip Value Disagrees\n"));
}