mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-25 16:33:22 +00:00
Monotone-Parent: 23583042485912a57b9dbb1a6919152381d2ad3f
Monotone-Revision: f8872e81db978182f854c43f0ec76c42507b0a28 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-03T13:06:50 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -2298,8 +2298,8 @@ Index: sope-mime/NGMime/NGMimeRFC822DateHeaderFieldParser.m
|
||||
- buf[length] = '\0';
|
||||
-
|
||||
+
|
||||
+ length = [_data lengthOfBytesUsingEncoding: NSISOLatin1StringEncoding];
|
||||
+ bytes = [_data cStringUsingEncoding: NSISOLatin1StringEncoding];
|
||||
+ length = [_data lengthOfBytesUsingEncoding: NSUTF8StringEncoding];
|
||||
+ bytes = [_data cStringUsingEncoding: NSUTF8StringEncoding];
|
||||
+
|
||||
/* remove leading chars (skip to first digit, the day of the month) */
|
||||
while (length > 0 && (!isdigit(*bytes))) {
|
||||
|
||||
Reference in New Issue
Block a user