]> granicus.if.org Git - curl/commitdiff
mime: avoid resetting a part's encoder when part's contents change.
authorPatrick Monnerat <patrick@monnerat.net>
Sun, 8 Oct 2017 17:43:13 +0000 (18:43 +0100)
committerPatrick Monnerat <patrick@monnerat.net>
Sun, 8 Oct 2017 17:43:13 +0000 (18:43 +0100)
lib/mime.c

index 0759ad50e4193f4315c4fa9be71049844db60c0e..4b6881703b1c62bc8f8fe9b294d9153ca33bbc35 100644 (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;
 }