[Mimedefang] MIMEDefang 2.57 is Released

Roedel, Mark MarkRoedel at letu.edu
Tue Jun 20 12:37:56 EDT 2006


Yep...looks like I get a clean build after applying that patch.  Thanks!

--
MarkR
 

-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of David
F. Skoll
Sent: Tuesday, June 20, 2006 10:57 AM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] MIMEDefang 2.57 is Released

Roedel, Mark wrote:

> mimedefang-multiplexor.c:4570: syntax error before `*'
> mimedefang-multiplexor.c:4571: `b' undeclared (first use in this
> function)

Doh doh DOH!!! Silly GCC lets me get away with way too much.

This simple patch should fix it.

Regards,

David.

--- MIMEDefang/trunk/mimedefang-multiplexor.c	2006/05/04 14:20:25
11343
+++ MIMEDefang/trunk/mimedefang-multiplexor.c	2006/06/20 15:55:22
11648
@@ -4566,8 +4566,9 @@
     start = end - hours + 1;
 
     for (i = start; i <= end; i++) {
+	HistoryBucket *b;
 	bucket = i % HISTORY_HOURS;
-	HistoryBucket *b = &(hourly_history[cmd][bucket]);
+	b = &(hourly_history[cmd][bucket]);
 	if (b->elapsed == i) {
 	    if (min_sec == -1 || b->first < min_sec) min_sec = b->first;
 	    if (b->last > max_sec) max_sec = b->last; 




More information about the MIMEDefang mailing list