From: helge Date: Sat, 5 Mar 2005 22:00:55 +0000 (+0000) Subject: fixed another \r\n issue X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c2e057a58d11553192b75a78a486d95692a16c8;p=sope fixed another \r\n issue git-svn-id: http://svn.opengroupware.org/SOPE/trunk@621 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-mime/NGMime/NGMimeMultipartBodyGenerator.m b/sope-mime/NGMime/NGMimeMultipartBodyGenerator.m index 4c0a78f1..3481ba8c 100644 --- a/sope-mime/NGMime/NGMimeMultipartBodyGenerator.m +++ b/sope-mime/NGMime/NGMimeMultipartBodyGenerator.m @@ -206,13 +206,13 @@ static inline BOOL _isBoundaryInArray(NGMimeMultipartBodyGenerator *self, while ((part = [enumerator nextObject])) { [data appendBytes:"--" length:2]; [data appendBytes:[_boundary cString] length:[_boundary length]]; - [data appendBytes:"\n" length:1]; + [data appendBytes:"\r\n" length:2]; [data appendData:part]; - [data appendBytes:"\n" length:1]; + [data appendBytes:"\r\n" length:2]; } [data appendBytes:"--" length:2]; [data appendBytes:[_boundary cString] length:[_boundary length]]; - [data appendBytes:"--\n" length:3]; + [data appendBytes:"--\r\n" length:4]; return data; }