mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
ifx bug with codeing of version 12402
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36518 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5fac2e2ca2
commit
74c57bc2ce
2 changed files with 11 additions and 12 deletions
|
@ -7169,6 +7169,7 @@ GS_PRIVATE_INTERNAL(GSMimeSMTPClient)
|
|||
if (sep != ' ' && sep != '-')
|
||||
{
|
||||
NSLog(@"Server made illegal response ... %@", s);
|
||||
RELEASE(s);
|
||||
[self _shutdown: [self _response: @"bad format"]];
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -281,20 +281,18 @@ static Class NSMutableDataMallocClass;
|
|||
}
|
||||
bytePtr = &bytes[sizeof(bytes) - byteCount];
|
||||
}
|
||||
|
||||
/* We normally store the count as a 32bit integer ... but if it's
|
||||
* very big, we store 0xffffffff and then an additional 64bit value
|
||||
* containing the actual count.
|
||||
*/
|
||||
if (count >= 0xffffffff)
|
||||
{
|
||||
c = 0xffffffff;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* We normally store the count as a 32bit integer ... but if it's
|
||||
* very big, we store 0xffffffff and then an additional 64bit value
|
||||
* containing the actual count.
|
||||
*/
|
||||
if (count >= 0xffffffff)
|
||||
{
|
||||
c = 0xffffffff;
|
||||
}
|
||||
else
|
||||
{
|
||||
c = count;
|
||||
}
|
||||
c = count;
|
||||
}
|
||||
|
||||
switch (*type)
|
||||
|
|
Loading…
Reference in a new issue