mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-02-21 01:42:18 +00:00
removed fclose() for form field file from other code paths, so
that there is only one path. This is where we will add the 2 byte rewind that our parser requires.
This commit is contained in:
parent
95f2bc273e
commit
2d9a620352
@ -352,7 +352,6 @@ int rhizome_direct_process_post_multipart_bytes
|
||||
DEBUGF("Got to end of multi-part form data");
|
||||
|
||||
/* Flush out any remaining data */
|
||||
if (r->field_file) fclose(r->field_file);
|
||||
if (r->request_length) {
|
||||
DEBUGF("Flushing last %d bytes",r->request_length);
|
||||
r->request[r->request_length]=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user