[Mimedefang] typo in hour_str()?

Franz Schwartau franz at electromail.org
Mon Dec 25 18:59:23 EST 2017

Merry Christmas!

After upgrading to 2.83 of mimedefang I'm wondering if "$min+1" should
read "$mon+1" in hour_str():

sub hour_str {
    my($sec, $min, $hour, $mday, $mon, $year, $junk);
    ($sec, $min, $hour, $mday, $mon, $year, $junk) = localtime(time());
    return sprintf('%04d-%02d-%02d-%02d', $year+1900, $min+1, $mday, $hour);

This would make more sense to me... :-)

	Best regards

More information about the MIMEDefang mailing list