b=194636 Forwarding binary message produces invalid message

r=ducarroz sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@139020 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kaie%netscape.com 2003-03-06 14:19:41 +00:00
parent 4e652ab251
commit b632eefc8a

View File

@ -161,7 +161,9 @@ MimeLeaf_parse_buffer (char *buffer, PRInt32 size, MimeObject *obj)
!obj->options->output_fn)
return 0;
if (leaf->decoder_data)
if (leaf->decoder_data &&
obj->options &&
obj->options->format_out != nsMimeOutput::nsMimeMessageDecrypt)
return MimeDecoderWrite (leaf->decoder_data, buffer, size);
else
return ((MimeLeafClass *)obj->clazz)->parse_decoded_buffer (buffer, size,