[Mimedefang] MIMEDefang 2.70 is Released GCC issue?
J.P van Oijen
jeepee at gids.nl
Thu Jul 1 14:44:16 EDT 2010
Works perfectly now thanks David....
Chrs J.P..
---------- Original Message -----------
From: "David F. Skoll" <dfs at roaringpenguin.com>
To: mimedefang at lists.roaringpenguin.com
Sent: Tue, 29 Jun 2010 11:32:24 -0400
Subject: Re: [Mimedefang] MIMEDefang 2.70 is Released GCC issue?
> J.P van Oijen wrote:
>
> > I can not seem to compile this new version but this might be an CGG version
> > issue as on gcc version 3.3.4 it runs fine. But still maybe someone can help
> > me out.
>
> *sigh* I really need to figure out how to make modern gcc's reject constructs
> like that.
>
> Anyway... this simple patch should fix it.
>
> Regards,
>
> David.
>
> diff --git a/mimedefang-multiplexor.c b/mimedefang-multiplexor.c
> index da4eb80..c62b410 100644
> --- a/mimedefang-multiplexor.c
> +++ b/mimedefang-multiplexor.c
> @@ -1441,9 +1441,9 @@ set_slave_status_from_command(Slave *s, char
> const *buf) if we have specified a limit on concurrent
> recipoks per domain */ if ((s->cmd == RECIPOK_CMD) &&
> (Settings.maxRecipokPerDomain > 0)) { + int len = 0; s-
> >domain[0] = 0; out = s->domain; - int len = 0;
> ptr = buf; while(*ptr && (*ptr != '@')) ptr++; if
> (*ptr == '@') { _______________________________________________
> 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 at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
------- End of Original Message -------
More information about the MIMEDefang
mailing list