mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
GSTcpPort tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6122 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f483855510
commit
ce05a6d371
2 changed files with 3 additions and 2 deletions
|
@ -704,7 +704,7 @@ static NSMapTable *tcpHandleTable = 0;
|
|||
nItems = GSSwapBigI32ToHost(h->nItems);
|
||||
NSAssert(nItems >0, NSInternalInconsistencyException);
|
||||
rItems = [[NSMutableArray alloc] initWithCapacity: nItems];
|
||||
if (rLength > sizeof(GSPortMsgHeader))
|
||||
if (rWant > sizeof(GSPortMsgHeader))
|
||||
{
|
||||
NSData *d;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue