mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-23 11:44:53 +00:00
mg_iobuf_delete -> mg_iobuf_del
This commit is contained in:
1 parent
bd64043377
commit
913e730ec2
15 files changed
+137
-146
No files matched your search
@@ -39,7 +39,7 @@ static void fn(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
|
||||
connected = true;
|
||||
LOG(LL_DEBUG,
|
||||
("Connected to proxy, status: %.*s", (int) hm.uri.len, hm.uri.ptr));
|
||||
mg_iobuf_delete(&c->recv, n);
|
||||
mg_iobuf_del(&c->recv, 0, n);
|
||||
// Send request to the target server
|
||||
mg_printf(c, "GET / HTTP/1.0\r\nHost: %.*s\r\n\r\n", (int) host.len,
|
||||
host.ptr);
|
||||
|
||||
Reference in new issue
Block a user