diff options
author | David <david@xagasoft.com> | 2011-04-27 18:55:22 +0000 |
---|---|---|
committer | David <david@xagasoft.com> | 2011-04-27 18:55:22 +0000 |
commit | 207384f738ebe9dea5170d4ec225f9684d39ee2e (patch) | |
tree | 6d0fd34f88e4cb2da8cc01043994df7f46b317a1 /java/com/xagasoft/gats/GatsInputStream.java | |
parent | ef8f24c1f0420cfc1fc4a1cb743fdc1c11f01a1e (diff) | |
download | libgats-207384f738ebe9dea5170d4ec225f9684d39ee2e.tar.gz libgats-207384f738ebe9dea5170d4ec225f9684d39ee2e.tar.bz2 libgats-207384f738ebe9dea5170d4ec225f9684d39ee2e.tar.xz libgats-207384f738ebe9dea5170d4ec225f9684d39ee2e.zip |
david - some changes
Diffstat (limited to '')
-rw-r--r-- | java/com/xagasoft/gats/GatsInputStream.java | 2 |
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 ) |