Fix error sending NSPortMessage objects which have not reserved space in their first component.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25811 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-12-31 20:38:50 +00:00
parent 0dbc8c967e
commit 43e228fade
3 changed files with 9 additions and 0 deletions

View file

@ -1843,6 +1843,7 @@ typedef struct {
* a maximum of NETBLOCK bytes. This is to try to get a single,
* efficient write operation if possible.
*/
c = [components count];
for (i = 1; i < c; i++)
{
id o = [components objectAtIndex: i];