[leafnode-list] leafnode-1.9.53.rc6 available (final candidate)

Matthias Andree matthias.andree at gmx.de
Mon May 3 01:19:25 CEST 2004


> leafnode 1.9.53 release candidate #6 is available at
> http://home.pages.de/~mandree/leafnode/

One bug was reported against this package so far that is easy to fix
through this patch. It is needed if your news reader does not generate a
Date: header and you wish to post.

Thanks to Wolfgang Weisselberg for reporting the problem and Mark Brown
for forwarding it.

Index: miscutil.c
===================================================================
RCS file: /var/CVS/leafnode-1/miscutil.c,v
retrieving revision 1.51
diff -u -r1.51 miscutil.c
--- miscutil.c	27 Apr 2004 23:23:10 -0000	1.51
+++ miscutil.c	2 May 2004 23:07:44 -0000
@@ -724,7 +724,7 @@
 	off = gm.tm_gmtoff/60;
 	sign = off < 0 ? '-' : '+';
 	off = labs(off);
-	xsnprintf(date, sizeof(date), "%3s, %d %3s %4d %02d:%02d:%02d %c%02l%02l",
+	xsnprintf(date, sizeof(date), "%3s, %d %3s %4d %02d:%02d:%02d %c%02ld%02ld",
 		days[gm.tm_wday], gm.tm_mday, months[gm.tm_mon],
 		gm.tm_year + 1900, gm.tm_hour, gm.tm_min, gm.tm_sec,
 		sign, off / 60, off % 60);

-- 
Matthias Andree



More information about the leafnode-list mailing list