mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +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