diff -r 8267d5c429c4 -r f723174fbc24 TCP/TCPListener.m --- a/TCP/TCPListener.m Sat May 24 13:26:02 2008 -0700 +++ b/TCP/TCPListener.m Tue Jun 10 16:14:20 2008 -0700 @@ -129,7 +129,7 @@ if( ! _ipv4socket ) { if( error.code==EADDRINUSE && _pickAvailablePort && _port<0xFFFF ) { LogTo(BLIPVerbose,@"%@: port busy, trying %hu...",self,_port+1); - self.port++; // try the next port + self.port += 1; // try the next port } else { if( outError ) *outError = error; return [self _failedToOpen: error];