remove duplicated epoch handling, test it

This commit is contained in:
Sergio R. Caprile committed 2026-07-15 15:53:38 -03:00
1 parent 7a2a3fc136
commit b6a353cae9
7 files changed
+63 -80

No files matched your search

+3
View File
@@ -46,6 +46,9 @@ bool mg_path_is_sane(const struct mg_str path);
// calling context; avoid in event handlers.
void mg_delayms(unsigned int ms);
uint64_t mg_timegm(unsigned int year, unsigned int month, unsigned int day,
unsigned int hour, unsigned int min, unsigned int sec);
// Packs four byte values into a uint32_t in big-endian order.
// MG_U32(1, 2, 3, 4) == 0x01020304
#define MG_U32(a, b, c, d) \