idMessage.SaveToStream Bug - Indy 9

Giganews Newsgroups
Subject: idMessage.SaveToStream Bug - Indy 9
Posted by:  skz@charter.no.spam.net
Date: Sat, 11 Dec 2004

I have encountered what appears to be a bug in the TidMessage.SaveToStream
method.  The method frees the AStream that is sent into it as the parameter.

Unit idMessage.pas at line1078 I added:
    LIOHS.FreeStreams := False ;

That seems to fix it.

The SaveToFile method also fails without this fix.

Regards,
-Steve-

Replies