mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
71e5005964
commit
9e292d78c1
56 changed files with 333 additions and 444 deletions
|
@ -483,7 +483,7 @@ typedef enum {
|
|||
msg.ptype = GDO_TCP_GDO; /* Port is TCP port for GNU DO */
|
||||
msg.port = 0;
|
||||
msg.nsize = [name cStringLength];
|
||||
[name getCString: (char*)msg.name];
|
||||
[name getCString: msg.name];
|
||||
TEST_RELEASE(data);
|
||||
data = [NSMutableData dataWithBytes: (void*)&msg length: sizeof(msg)];
|
||||
IF_NO_GC(RETAIN(data));
|
||||
|
@ -495,7 +495,7 @@ typedef enum {
|
|||
msg.rtype = GDO_REGISTER; /* Register a port. */
|
||||
msg.ptype = GDO_TCP_GDO; /* Port is TCP port for GNU DO */
|
||||
msg.nsize = [name cStringLength];
|
||||
[name getCString: (char*)msg.name];
|
||||
[name getCString: msg.name];
|
||||
msg.port = GSSwapHostI32ToBig(portNumber);
|
||||
TEST_RELEASE(data);
|
||||
data = [NSMutableData dataWithBytes: (void*)&msg length: sizeof(msg)];
|
||||
|
@ -514,7 +514,7 @@ typedef enum {
|
|||
else
|
||||
{
|
||||
msg.nsize = [name cStringLength];
|
||||
[name getCString: (char*)msg.name];
|
||||
[name getCString: msg.name];
|
||||
}
|
||||
msg.port = GSSwapHostI32ToBig(portNumber);
|
||||
TEST_RELEASE(data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue