aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-07 04:09:21 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-07 04:09:21 +0200
commit0f3cfac7f1961dad77d8fab3abc83f58b3bb20fa (patch)
tree59c2e6004287d3f2c7d1aa7bd8b7bfe0a3c253e7 /lib
parent0dbf7b6c4e4e6009ecc38d012997d1d209931f81 (diff)
parent556056abb3004318a3a9c406450bd5315f3d0d6f (diff)
Merge branch 'master' into debian
Diffstat (limited to 'lib')
-rw-r--r--lib/Net/IMAP/Sync.pm4
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 .= "))";
}