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
Родитель 2c2985b73b
Коммит f794279e7d
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

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