openbsd-ports/www/mhonarc/patches/patch-lib_mhamain_pl

14 lines
428 B
Plaintext
Raw Normal View History

$OpenBSD: patch-lib_mhamain_pl,v 1.1 2012/05/07 20:13:50 pascal Exp $
defined(%hash) is deprecated
--- lib/mhamain.pl.orig Mon May 7 12:00:36 2012
+++ lib/mhamain.pl Mon May 7 12:01:44 2012
@@ -1561,7 +1561,7 @@ sub signal_catch {
## Create Index2MsgId if not defined
##
sub defineIndex2MsgId {
- if (!defined(%Index2MsgId)) {
+ if (!%Index2MsgId) {
foreach (keys %MsgId) {
$Index2MsgId{$MsgId{$_}} = $_;
}