Increate SNTP timeout 3s->5s. Change mg_sntp_send() to mg_sntp_request(), remove one unnecessary parameter

This commit is contained in:
Sergey Lyubka committed 2022-05-15 18:41:01 +01:00
1 parent 6db1d7925e
commit f5fd176b35
10 files changed
+17 -21

No files matched your search

+1 -1
View File
@@ -4,5 +4,5 @@
struct mg_connection *mg_sntp_connect(struct mg_mgr *mgr, const char *url,
mg_event_handler_t fn, void *fn_data);
void mg_sntp_send(struct mg_connection *c, unsigned long utc);
void mg_sntp_request(struct mg_connection *c);
int64_t mg_sntp_parse(const unsigned char *buf, size_t len);