mirror of https://git.kore.io/kore.git
Explicitly set offset to 0 for http_file.
This commit is contained in:
parent
46cee2ff46
commit
0b92afe53d
|
@ -1274,6 +1274,7 @@ multipart_file_add(struct http_request *req, struct kore_buf *in,
|
|||
|
||||
f = kore_malloc(sizeof(struct http_file));
|
||||
f->req = req;
|
||||
f->offset = 0;
|
||||
f->length = len;
|
||||
f->position = position;
|
||||
f->name = kore_strdup(name);
|
||||
|
|
Loading…
Reference in New Issue