mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
Do not assert on SNTP and local clock diff, since local clock could be off
This commit is contained in:
1 parent
6149b619e7
commit
948595fb3b
1 file changed
+1
-1
+1
-1
@@ -299,7 +299,7 @@ static void sntp_cb(struct mg_connection *c, int ev, void *evd, void *fnd) {
|
||||
int64_t ms = (int64_t) tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||
int64_t diff = ms > received ? ms - received : received - ms;
|
||||
MG_DEBUG(("diff: %lld", diff));
|
||||
ASSERT(diff < 100);
|
||||
// ASSERT(diff < 100);
|
||||
#endif
|
||||
} else if (ev == MG_EV_OPEN) {
|
||||
c->is_hexdumping = 1;
|
||||
|
||||
Reference in new issue
Block a user