changeset 12 | 710113961756 |
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 Tue Jun 03 22:24:21 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];