Add optional zip cmd to pack.c

This commit is contained in:
Sergey Lyubka committed 2022-02-12 14:28:02 +00:00
1 parent 4f802ece52
commit 3e8e2ab513
4 files changed
+43 -22

No files matched your search

+1 -1
View File
@@ -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,