mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-27 22:57:58 +01:00
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:
parent
7e110a954f
commit
68d489ef79
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue