Sébastien,

> Here is the diff -u from your 2.5.4 source tarball and from my rpm.
> I wonder how this could have been changed, I'll ask my teammates why. I
> think that is a human mistake, and that is not from rpmforge packagers.
> It's seems that with your original code everything is OK. Thanks a lot
> for helping me and excuse me for wasting your time.
>
> --- amavisd.fromtarball    2009-06-29 13:57:07.000000000 +0200
> +++ /usr/sbin/amavisd    2008-11-10 11:37:08.000000000 +0100
> @@ -3123,6 +3123,8 @@
>  # for my $f (sort {$s{$a}<=>$s{$b}} keys %fld)
>  #   { do_log(5, "%-8s -> /%s/", $f,$fld{$f}) }
>    \%fld;
> +
> +   do_log(2, "premier -> /%s/", $fld{'from-tcp'});
>  }

That explains. Instead of returning a ref to %fld, the subroutine
was returning a result from a do_log call, which is a '1'.

  Mark

------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to