Works perfectly now thanks David.... Chrs J.P..
---------- Original Message ----------- From: "David F. Skoll" <[email protected]> To: [email protected] 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 [email protected] > http://lists.roaringpenguin.com/mailman/listinfo/mimedefang ------- End of Original Message ------- _______________________________________________ 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 [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

