mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Don't call [super encodeWithCoder] and [super initWithCoder]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3310 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
180d2f959d
commit
a8601947a1
1 changed files with 0 additions and 2 deletions
|
@ -1355,7 +1355,6 @@ static NSMapTable* port_number_2_port;
|
||||||
/* We are actually encoding a "send right" (ala Mach),
|
/* We are actually encoding a "send right" (ala Mach),
|
||||||
not a receive right.
|
not a receive right.
|
||||||
These values must match those expected by [TcpOutPort +newWithCoder] */
|
These values must match those expected by [TcpOutPort +newWithCoder] */
|
||||||
[super encodeWithCoder: aCoder];
|
|
||||||
/* Encode these at bytes, not as C-variables, because they are
|
/* Encode these at bytes, not as C-variables, because they are
|
||||||
already in "network byte-order". */
|
already in "network byte-order". */
|
||||||
[aCoder encodeBytes: &_listening_address.sin_port
|
[aCoder encodeBytes: &_listening_address.sin_port
|
||||||
|
@ -1858,7 +1857,6 @@ static NSMapTable *out_port_bag = NULL;
|
||||||
- (void) encodeWithCoder: aCoder
|
- (void) encodeWithCoder: aCoder
|
||||||
{
|
{
|
||||||
NSAssert(is_valid, NSInternalInconsistencyException);
|
NSAssert(is_valid, NSInternalInconsistencyException);
|
||||||
[super encodeWithCoder: aCoder];
|
|
||||||
NSAssert(!_polling_in_port
|
NSAssert(!_polling_in_port
|
||||||
|| (ntohs (_remote_in_port_address.sin_port)
|
|| (ntohs (_remote_in_port_address.sin_port)
|
||||||
!= [_polling_in_port portNumber]), NSInternalInconsistencyException);
|
!= [_polling_in_port portNumber]), NSInternalInconsistencyException);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue