aboutsummaryrefslogtreecommitdiff
path: root/java/com/xagasoft/gats/GatsInputStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/com/xagasoft/gats/GatsInputStream.java')
-rw-r--r--java/com/xagasoft/gats/GatsInputStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/xagasoft/gats/GatsInputStream.java b/java/com/xagasoft/gats/GatsInputStream.java
index 9c36b1e..8eac738 100644
--- a/java/com/xagasoft/gats/GatsInputStream.java
+++ b/java/com/xagasoft/gats/GatsInputStream.java
@@ -49,7 +49,7 @@ public class GatsInputStream
49 if( iGoal > 1500 ) 49 if( iGoal > 1500 )
50 iGoal = 1500; 50 iGoal = 1500;
51 51
52 int iRead = is.read( aBuf ); 52 int iRead = is.read( aBuf, 0, iGoal );
53 baos.write( aBuf, 0, iRead ); 53 baos.write( aBuf, 0, iRead );
54 54
55 if( iRead < iGoal ) 55 if( iRead < iGoal )