aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Net
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2017-07-29 13:37:30 +0200
committerGuilhem Moulin <guilhem@fripost.org>2017-07-29 13:37:30 +0200
commitb3b34342a2276619d321392e0f06114e13a6d46d (patch)
tree22d808c95f52de208d8caad1cf015d47552db436 /lib/Net
parent99f085242ccb3ffdb903ce63d790b536d27176e8 (diff)
parent783954eaacec35d53674749e302c2ea6ac137935 (diff)
Merge branch 'master' into debian
Diffstat (limited to 'lib/Net')
-rw-r--r--lib/Net/IMAP/InterIMAP.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/IMAP/InterIMAP.pm b/lib/Net/IMAP/InterIMAP.pm
index 7a1ba34..6f148b7 100644
--- a/lib/Net/IMAP/InterIMAP.pm
+++ b/lib/Net/IMAP/InterIMAP.pm
@@ -1185,7 +1185,7 @@ sub pull_new_messages($$&@) {
do {
my $range = '';
my $first;
- my $since = $self->{_PCACHE}->{$mailbox}->{UIDNEXT} // 1;
+ my $since = $self->{_PCACHE}->{$mailbox}->{UIDNEXT} || 1;
foreach my $uid (@ignore) {
if ($since < $uid) {
$first //= $since;