mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-20 11:19:56 +00:00
Add optional zip cmd to pack.c
This commit is contained in:
1 parent
4f802ece52
commit
3e8e2ab513
4 files changed
+43
-22
No files matched your search
+1
-1
@@ -875,7 +875,7 @@ void mg_http_delete_chunk(struct mg_connection *c, struct mg_http_message *hm) {
|
||||
ce = &ch.ptr[ch.len];
|
||||
if (ce < end) memmove((void *) ch.ptr, ce, (size_t) (end - ce));
|
||||
c->recv.len -= ch.len;
|
||||
if (c->pfn_data == NULL) c->pfn_data = (char *) c->pfn_data - ch.len;
|
||||
if (c->pfn_data != NULL) c->pfn_data = (char *) c->pfn_data - ch.len;
|
||||
}
|
||||
|
||||
int mg_http_upload(struct mg_connection *c, struct mg_http_message *hm,
|
||||
|
||||
Reference in new issue
Block a user