Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/transport/SSH.java @ 112:77ac18bc1b2f
cleanup java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 18 Jun 2014 13:03:01 -0700 |
parents | 139394237973 |
children | 91a31873c42a |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/SSH.java Wed Jun 18 13:00:19 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/transport/SSH.java Wed Jun 18 13:03:01 2014 -0700 @@ -586,9 +586,11 @@ @Override public boolean willBlock() { if (stdout == null) return true; + try { return stdout.available() == 0; - } catch (Exception e) { + } + catch (Exception e) { return true; } }