Monotone-Parent: 23583042485912a57b9dbb1a6919152381d2ad3f
Monotone-Revision: f8872e81db978182f854c43f0ec76c42507b0a28 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-03T13:06:50 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
d4c4706e41
commit
02a0c9eda2
|
@ -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))) {
|
||||
|
|
Loading…
Reference in New Issue