]> err.no Git - sope/commitdiff
fixed another \r\n issue
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sat, 5 Mar 2005 22:00:55 +0000 (22:00 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Sat, 5 Mar 2005 22:00:55 +0000 (22:00 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@621 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-mime/NGMime/NGMimeMultipartBodyGenerator.m

index 4c0a78f18d8e844e848fb040b99029acf89f1c9f..3481ba8c6d6f6bba2d86bd448420fee8567ab46f 100644 (file)
@@ -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;
 }