From 0c2e057a58d11553192b75a78a486d95692a16c8 Mon Sep 17 00:00:00 2001 From: helge Date: Sat, 5 Mar 2005 22:00:55 +0000 Subject: [PATCH] fixed another \r\n issue git-svn-id: http://svn.opengroupware.org/SOPE/trunk@621 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-mime/NGMime/NGMimeMultipartBodyGenerator.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5