1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

mime: avoid resetting a part's encoder when part's contents change.

This commit is contained in:
Patrick Monnerat 2017-10-08 18:43:13 +01:00
parent b557182db1
commit 112ea5adb6

View File

@ -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;
}