mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-01 13:10:43 +00:00
Fix #2612 - struct mg_str::ptr -> buf
This commit is contained in:
1 parent
e93d18d200
commit
e0e599ffa1
61 files changed
+684
-686
No files matched your search
@@ -30,7 +30,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data) {
|
||||
"Connection: close\r\n"
|
||||
"Host: %.*s\r\n"
|
||||
"\r\n",
|
||||
mg_url_uri(s_url), (int) host.len, host.ptr);
|
||||
mg_url_uri(s_url), (int) host.len, host.buf);
|
||||
} else if (ev == MG_EV_READ) {
|
||||
// c->data[0] holds a flag, whether we have parsed the request already
|
||||
if (c->data[0] == 0) {
|
||||
|
||||
Reference in new issue
Block a user