From: Don Armstrong Date: Sun, 10 Jun 2007 00:06:36 +0000 (-0700) Subject: handle undefined msg_ids properly in Debbugs::Estraier X-Git-Tag: release/2.6.0~558^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9b3c9cd5615a7900ec7d3e4de758b7e8bda3e9aa;p=debbugs.git handle undefined msg_ids properly in Debbugs::Estraier --- diff --git a/Debbugs/Estraier.pm b/Debbugs/Estraier.pm index 75d40326..47457f25 100644 --- a/Debbugs/Estraier.pm +++ b/Debbugs/Estraier.pm @@ -76,7 +76,7 @@ sub add_bug_log{ my ($msg_id) = $record->{text} =~ /^Message-Id:\s+<(.+)>/im; next if defined $msg_id and exists $seen_msg_ids{$msg_id}; $seen_msg_ids{$msg_id} = 1 if defined $msg_id; - next if $msg_id =~ /handler\..+\.ack(?:info)?\@/; + next if defined $msg_id and $msg_id =~ /handler\..+\.ack(?:info)?\@/; add_bug_message($est,$record->{text},$bug_num,$msg_num,$status) } return $msg_num;