Fix an off-by-one in SocketTest::DecodeHostAndPort
authorPavel Labath <labath@google.com>
Wed, 3 Feb 2016 11:12:23 +0000 (11:12 +0000)
committerPavel Labath <labath@google.com>
Wed, 3 Feb 2016 11:12:23 +0000 (11:12 +0000)
commit1b58f5cbbb757bea043b863e52fc10e6e7dd7f90
treec7c5fd121a1d330edf2802663f22c5ebd629b41a
parent323862e13ca421175b82617977f80b88e9f6cfe9
Fix an off-by-one in SocketTest::DecodeHostAndPort

65535 is still a valid port. This should fix the android failures we were getting when we chose
to connect over 65535 to the remote lldb-server.

llvm-svn: 259638
lldb/source/Host/common/Socket.cpp
lldb/unittests/Host/SocketTest.cpp