summaryrefslogtreecommitdiff
path: root/mail/mhonarc/patches/patch-lib_mhamain.pl
blob: 44a3ed4ccb318c4655fa8ab21b810a6e9d53b82f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-lib_mhamain.pl,v 1.1 2011/10/30 22:03:42 spz Exp $

--- lib/mhamain.pl.orig	2011-01-09 16:18:35.000000000 +0000
+++ lib/mhamain.pl
@@ -1561,7 +1561,7 @@ sub signal_catch {
 ##	Create Index2MsgId if not defined
 ##
 sub defineIndex2MsgId {
-    if (!defined(%Index2MsgId)) {
+    if (!%Index2MsgId) {
 	foreach (keys %MsgId) {
 	    $Index2MsgId{$MsgId{$_}} = $_;
 	}