changeset 21 | 56aed3578628 |
parent 1 | 8267d5c429c4 |
child 22 | 8b883753394a |
1.1 --- a/TCP/TCPListener.m Sat May 24 13:26:02 2008 -0700 1.2 +++ b/TCP/TCPListener.m Sun Jul 13 10:53:46 2008 -0700 1.3 @@ -129,7 +129,7 @@ 1.4 if( ! _ipv4socket ) { 1.5 if( error.code==EADDRINUSE && _pickAvailablePort && _port<0xFFFF ) { 1.6 LogTo(BLIPVerbose,@"%@: port busy, trying %hu...",self,_port+1); 1.7 - self.port++; // try the next port 1.8 + self.port += 1; // try the next port 1.9 } else { 1.10 if( outError ) *outError = error; 1.11 return [self _failedToOpen: error];