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

git-svn-id: svn://10.0.0.236/trunk@82108 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jefft%netscape.com
2000-10-31 22:04:58 +00:00
parent bf5d2edd06
commit 8891bd6170

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;