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:
Richard Frith-MacDonald 1998-11-23 21:42:24 +00:00
parent 180d2f959d
commit a8601947a1

View file

@ -1355,7 +1355,6 @@ static NSMapTable* port_number_2_port;
/* We are actually encoding a "send right" (ala Mach),
not a receive right.
These values must match those expected by [TcpOutPort +newWithCoder] */
[super encodeWithCoder: aCoder];
/* Encode these at bytes, not as C-variables, because they are
already in "network byte-order". */
[aCoder encodeBytes: &_listening_address.sin_port
@ -1858,7 +1857,6 @@ static NSMapTable *out_port_bag = NULL;
- (void) encodeWithCoder: aCoder
{
NSAssert(is_valid, NSInternalInconsistencyException);
[super encodeWithCoder: aCoder];
NSAssert(!_polling_in_port
|| (ntohs (_remote_in_port_address.sin_port)
!= [_polling_in_port portNumber]), NSInternalInconsistencyException);