mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
mime: avoid resetting a part's encoder when part's contents change.
This commit is contained in:
parent
b557182db1
commit
112ea5adb6
@ -1082,7 +1082,6 @@ static void cleanup_part_content(curl_mimepart *part)
|
||||
part->data = NULL;
|
||||
part->fp = NULL;
|
||||
part->datasize = (curl_off_t) 0; /* No size yet. */
|
||||
part->encoder = NULL;
|
||||
cleanup_encoder_state(&part->encstate);
|
||||
part->kind = MIMEKIND_NONE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user