mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Tidy last NSArray change with minor performance tweak, apply bugfix for code
attempting to deal with minor problems in mime data being parsed. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18336 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
35c9435122
commit
a11526b4f8
3 changed files with 30 additions and 18 deletions
|
@ -1245,7 +1245,7 @@ wordData(NSString *word)
|
|||
|
||||
if (flags.wantEndOfLine == 1)
|
||||
{
|
||||
result = [self parse: [NSData dataWithBytes: @"\r\n" length: 2]];
|
||||
result = [self parse: [NSData dataWithBytes: "\r\n" length: 2]];
|
||||
}
|
||||
else if (flags.inBody == 1)
|
||||
{
|
||||
|
@ -1257,7 +1257,7 @@ wordData(NSString *word)
|
|||
* If still parsing headers, add CR-LF sequences to terminate
|
||||
* the headers.
|
||||
*/
|
||||
result = [self parse: [NSData dataWithBytes: @"\r\n\r\n" length: 4]];
|
||||
result = [self parse: [NSData dataWithBytes: "\r\n\r\n" length: 4]];
|
||||
}
|
||||
flags.wantEndOfLine = 0;
|
||||
flags.inBody = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue