Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/transport/ClientServerHello.java @ 338:126af684034e ganymed
still hangs during connection
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 31 Jul 2014 15:03:49 -0700 |
parents | 0d0d2fc9918c |
children |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/transport/ClientServerHello.java Thu Jul 31 15:00:28 2014 -0700 +++ b/src/ch/ethz/ssh2/transport/ClientServerHello.java Thu Jul 31 15:03:49 2014 -0700 @@ -76,7 +76,7 @@ bo.flush(); // Expect SSH-protoversion-softwareversion SP comments CR LF byte[] serverVersion = new byte[512]; - String remoteIdentifier; + String remoteIdentifier = null; for (int i = 0; i < 50; i++) { int len = readLineRN(bi, serverVersion); remoteIdentifier = new String(serverVersion, 0, len, "ISO-8859-1");