ProtocolClient was both a superclass and a member. Fix.
authorRobert Sesek <rsesek@bluestatic.org>
Tue, 18 Jun 2013 05:44:55 +0000 (01:44 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Tue, 18 Jun 2013 05:44:55 +0000 (01:44 -0400)
Source/NetworkConnection.mm

index 353072906c5e7e9430bde60332766db28a6fa72c..8d38a7003070e23ecc156c8cc2870d7ca97ee996 100644 (file)
@@ -43,9 +43,9 @@
 
 - (id)initWithPort:(NSUInteger)aPort
 {
-  if (self = [super init]) {
+  if (self = [super initWithDelegate:self]) {
     port_ = aPort;
-    _ideClient = [[ProtocolClient alloc] initWithDelegate:self];
+    _ideClient = self;
   }
   return self;
 }