mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-27 20:48:29 +00:00
Use mg_parse_uri in ws, add mg_mk_str function
PUBLISHED_FROM=650ce03aaf53f4c501fbb77a3ae0b584278e299a
This commit is contained in:
1 parent
67521fd9f6
commit
b56e985ccc
2 files changed
+8
No files matched your search
@@ -7115,6 +7115,11 @@ int mg_match_prefix(const char *pattern, int pattern_len, const char *str) {
|
||||
}
|
||||
return j;
|
||||
}
|
||||
|
||||
struct mg_str mg_mk_str(const char *s) {
|
||||
struct mg_str ret = {s, strlen(s)};
|
||||
return ret;
|
||||
}
|
||||
#ifdef NS_MODULE_LINES
|
||||
#line 1 "./src/json-rpc.c"
|
||||
/**/
|
||||
|
||||
Reference in new issue
Block a user