[squeak-dev] MimeConverter fix

Stéphane Rollandin lecteur at zogotounga.net
Sun Apr 18 20:07:17 UTC 2010

Attached is a fix for method #mimeEncode:to: in MimeConverter, broken in 
the latest image

-------------- next part --------------
'From Squeak4.1 of 17 April 2010 [latest update: #9956] on 18 April 2010 at 10:04:39 pm'!

!MimeConverter class methodsFor: 'convenience' stamp: 'spfa 4/18/2010 22:04'!
mimeEncode: aCollectionOrStream to: outStream
	self new
		dataStream: (aCollectionOrStream isStream
			ifTrue: [aCollectionOrStream]
			ifFalse: [ReadStream on: aCollectionOrStream]);
		mimeStream: outStream;
		multiLine: true;
		mimeEncode! !

More information about the Squeak-dev mailing list