diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-09-06 21:44:43 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-09-06 21:44:43 +0200 |
commit | af74040d8dc76e0f60def130b7c3930c413e7af7 (patch) | |
tree | 4c9515cd1871a616411e8952aa970027005e79c6 /lib/Net | |
parent | c80864d8d544dd29c73c47c3911ac0e7993ed59b (diff) |
wibble
Diffstat (limited to 'lib/Net')
-rw-r--r-- | lib/Net/IMAP/Sync.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/IMAP/Sync.pm b/lib/Net/IMAP/Sync.pm index 785aa54..6561a66 100644 --- a/lib/Net/IMAP/Sync.pm +++ b/lib/Net/IMAP/Sync.pm @@ -1287,7 +1287,7 @@ sub _select_or_examine($$$;$$) { my $self = shift; my $command = shift; my $mailbox = shift; - my ($uids, $seqs) = @_; + my ($seqs, $uids) = @_; my $pcache = $self->{_PCACHE}->{$mailbox} //= {}; my $cache = $self->{_CACHE}->{$mailbox} //= {}; @@ -1298,7 +1298,7 @@ sub _select_or_examine($$$;$$) { if ($self->_enabled('QRESYNC') and ($pcache->{HIGHESTMODSEQ} // 0) > 0 and ($pcache->{UIDNEXT} // 1) > 1) { $command .= " (QRESYNC ($pcache->{UIDVALIDITY} $pcache->{HIGHESTMODSEQ} " ."1:".($pcache->{UIDNEXT}-1); - $command .= " ($uids $seqs)" if defined $uids and defined $seqs; + $command .= " ($seqs $uids)" if defined $seqs and defined $uids; $command .= "))"; } |