On Thu, 13 Mar 2014 16:50:22 +0100
Fredrik Pettai <pet...@nordu.net> wrote:

> main::rebuild_entity() called too early to check prototype
> at /usr/pkg/bin/mimedefang.pl line 805.

I have a patch in our git repo to fix this; just haven't done a new
MIMEDefang release yet.

diff --git a/mimedefang.pl.in b/mimedefang.pl.in
index 8702c4c..36b167c 100755
--- a/mimedefang.pl.in
+++ b/mimedefang.pl.in
@@ -764,6 +764,7 @@ sub synthesize_received_header () {
 #  Descends through input entity and rebuilds an output entity.  The
 #  various parts of the input entity may be modified (or even deleted)
 #***********************************************************************
+sub rebuild_entity ($$); # Forward declaration to avoid warning
 sub rebuild_entity ($$) {
     my($out, $in) = @_;
     my @parts = $in->parts;

Regards,

David.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to