Update of /home/users/mhonarc.org/ehood/cvs/mhonarc/mhonarc/MHonArc/lib
In directory denethor.mallorn.com:/tmp/cvs-serv1449
Modified Files:
mhexternal.pl
Log Message:
BUG FIX #11207: Filename extension was not passed into
mhonarc::write_attachment().
Index: mhexternal.pl
===================================================================
RCS file: /home/users/mhonarc.org/ehood/cvs/mhonarc/mhonarc/MHonArc/lib/mhexternal.pl,v
retrieving revision 2.18
retrieving revision 2.19
diff -C2 -r2.18 -r2.19
*** mhexternal.pl 29 Sep 2003 05:03:57 -0000 2.18
--- mhexternal.pl 3 Dec 2004 20:33:18 -0000 2.19
***************
*** 114,118 ****
my $ctype = '';
my $type = '';
- my $ext = '';
my $inline = 0;
my $inext = '';
--- 114,117 ----
***************
*** 175,179 ****
## Check if utilizing extension from mail header defined filename
if ($dispext && $usenameext) {
! $inext = $1;
}
--- 174,178 ----
## Check if utilizing extension from mail header defined filename
if ($dispext && $usenameext) {
! $inext = $dispext;
}
***************
*** 206,210 ****
'-dirpath' => $path,
'-filename' => $name,
! '-ext' => $ext,
});
&debug("File-written: $filename") if $debug;
--- 205,209 ----
'-dirpath' => $path,
'-filename' => $name,
! '-ext' => $inext,
});
&debug("File-written: $filename") if $debug;
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS