mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 14:57:12 +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:
1 parent
d4c4706e41
commit
02a0c9eda2
1 file changed
+2
-2
@@ -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