Fix from John for bad packet processing logic.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1869 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Matt Tucker 2003-04-08 21:22:09 +00:00 committed by mtucker
parent 7e110a954f
commit 68d489ef79
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ class PacketReader {
// Remove all null values from the collectors list.
synchronized (collectors) {
for (int i=collectors.size()-1; i<=0; i--) {
for (int i=collectors.size()-1; i>=0; i--) {
if (collectors.get(i) == null) {
collectors.remove(i);
}