mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-01 18:36:15 +08:00
More SNTP debug
This commit is contained in:
parent
6b7f14c69d
commit
4fc84621ae
@ -286,6 +286,8 @@ static void sntp_cb(struct mg_connection *c, int ev, void *evd, void *fnd) {
|
|||||||
if (ev == MG_EV_SNTP_TIME) {
|
if (ev == MG_EV_SNTP_TIME) {
|
||||||
*(int64_t *) fnd = *(int64_t *) evd;
|
*(int64_t *) fnd = *(int64_t *) evd;
|
||||||
MG_DEBUG(("got time: %lld", *(int64_t *) evd));
|
MG_DEBUG(("got time: %lld", *(int64_t *) evd));
|
||||||
|
} else if (ev == MG_EV_OPEN) {
|
||||||
|
c->is_hexdumping = 1;
|
||||||
}
|
}
|
||||||
(void) c;
|
(void) c;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user