Skip to content

Commit

Permalink
Fixed InputStreamSender for last bytes.
Browse files Browse the repository at this point in the history
git-svn-id: http://kryonet.googlecode.com/svn/trunk@139 04c80b72-a8cd-11de-b6f4-e1be98fab775
  • Loading branch information
nathan.sweet committed Oct 6, 2013
1 parent 5db85b1 commit 1714bc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected final Object next () {
if (total == 0) return null;
byte[] partial = new byte[total];
System.arraycopy(chunk, 0, partial, 0, total);
return partial;
return next(partial);
}
total += count;
}
Expand Down

0 comments on commit 1714bc7

Please sign in to comment.