diff src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 43:6b0f1ece1d91 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Wed, 11 Jun 2014 09:29:22 -0700
parents 0ce5cc452d02
children 294435151b0c
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Wed Jun 11 09:14:31 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Wed Jun 11 09:29:22 2014 -0700
@@ -294,6 +294,7 @@
     }
 
     public synchronized void hostData(byte[] b) {
+        if (b == null) return;
         for (int i = 0; i < b.length; i++) {
             hostData((int)b[i] & 0xff);
         }