fixed bug 57614 - copy to Sent folder failed after message sent successfully, r=bienvenu, sr=alecf

This commit is contained in:
jefft%netscape.com 2000-10-31 22:04:58 +00:00
parent 2c2985b73b
commit f794279e7d

View File

@ -4087,7 +4087,8 @@ nsMsgComposeAndSend::MimeDoFCC(nsFileSpec *input_file,
//
while (! inputFile.eof())
{
if (!inputFile.readline(ibuffer, ibuffer_size))
// check *ibuffer in case that ibuffer isn't big enough
if (!inputFile.readline(ibuffer, ibuffer_size) && *ibuffer == 0)
{
status = NS_ERROR_FAILURE;
goto FAIL;