diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2017-07-29 13:37:30 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2017-07-29 13:37:30 +0200 |
commit | b3b34342a2276619d321392e0f06114e13a6d46d (patch) | |
tree | 22d808c95f52de208d8caad1cf015d47552db436 /interimap | |
parent | 99f085242ccb3ffdb903ce63d790b536d27176e8 (diff) | |
parent | 783954eaacec35d53674749e302c2ea6ac137935 (diff) |
Merge branch 'master' into debian
Diffstat (limited to 'interimap')
-rwxr-xr-x | interimap | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -577,7 +577,8 @@ sub download_missing($$$@) { my $uid = $mail->{UID}; my $from = first { defined $_ and @$_ } @{$mail->{ENVELOPE}}[2,3,4]; - $from = (defined $from and @$from) ? $from->[0]->[2].'@'.$from->[0]->[3] : ''; + $from = (defined $from and defined $from->[0]->[2] and defined $from->[0]->[3]) + ? $from->[0]->[2].'@'.$from->[0]->[3] : ''; msg(undef, "$source($mailbox): UID $uid from <$from> ($mail->{INTERNALDATE})") unless $CONFIG{quiet}; callback_new_message($idx, $mailbox, $source, $mail, \@uids, $buff, \$bufflen) |