mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
fix SNTP through proper protocol handler setup
This commit is contained in:
1 parent
67255ce8f5
commit
8bf9d09d96
8 files changed
+39
-30
No files matched your search
+1
-3
@@ -1148,9 +1148,7 @@ void mg_hello(const char *url) {
|
||||
|
||||
struct mg_connection *mg_http_connect(struct mg_mgr *mgr, const char *url,
|
||||
mg_event_handler_t fn, void *fn_data) {
|
||||
struct mg_connection *c = mg_connect(mgr, url, fn, fn_data);
|
||||
if (c != NULL) c->pfn = http_cb;
|
||||
return c;
|
||||
return mg_connect_svc(mgr, url, fn, fn_data, http_cb, NULL);
|
||||
}
|
||||
|
||||
struct mg_connection *mg_http_listen(struct mg_mgr *mgr, const char *url,
|
||||
|
||||
Reference in new issue
Block a user