Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Commit

Permalink
one more change, not sure but a MAP could end with a zero length stri…
Browse files Browse the repository at this point in the history
…ng ?

git-svn-id: https://flazr.svn.sourceforge.net/svnroot/flazr/trunk/flazr@58 5dee199b-8608-4927-992f-dc734163a847
  • Loading branch information
ptrthomas committed Nov 30, 2009
1 parent a710b7a commit b8b222a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/flazr/amf/Amf0Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private static Object decode(final ChannelBuffer in, final Type type) {
}
int i = 0;
final byte[] endMarker = new byte[3];
while (in.readableBytes() >= OBJECT_END_MARKER.length) {
while (in.readable()) {
if(count > 0 && i++ == count) {
break;
}
Expand Down

0 comments on commit b8b222a

Please sign in to comment.