git://git.jankratochvil.net
/
PerlMail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
host1:~lace/src/PerlMail/ update.
[PerlMail.git]
/
PerlMail
/
Lib.pm
diff --git
a/PerlMail/Lib.pm
b/PerlMail/Lib.pm
index
ccd7671
..
2aebf4a
100644
(file)
--- a/
PerlMail/Lib.pm
+++ b/
PerlMail/Lib.pm
@@
-1,7
+1,7
@@
#! /usr/bin/perl
#
#! /usr/bin/perl
#
-# $Id$
-# Copyright (C) 2002-2003 Jan Kratochvil <
short@ucw.cz
>
+# $Id
: Lib.pm,v 1.3 2010/07/16 06:27:11 lace Exp
$
+# Copyright (C) 2002-2003 Jan Kratochvil <
project-PerlMail@jankratochvil.net
>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-20,7
+20,7
@@
package PerlMail::Lib;
use vars qw($VERSION);
package PerlMail::Lib;
use vars qw($VERSION);
-$VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+$VERSION=do { my @r=(q$Revision
: 1.3
$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
use strict;
use warnings;
use strict;
use warnings;
@@
-101,7
+101,7
@@
sub muttrc_get
{
my(@headers)=@_;
{
my(@headers)=@_;
- my @r=map({ (ref $_ ? $_ :
qr/^\s*set\s+\Q$_\E\s*=\s*(.*?)\s*$/si
); } @headers);
+ my @r=map({ (ref $_ ? $_ :
($_ eq "alternates" ? qr/^\s*\Q$_\E\s+(.*?)\s*$/si : qr/^\s*set\s+\Q$_\E\s*=\s*(.*?)\s*$/si)
); } @headers);
my %r=map(($_=>undef()),@r);
for (muttrc()) {
for my $ritem (@r) {
my %r=map(($_=>undef()),@r);
for (muttrc()) {
for my $ritem (@r) {