[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



> 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
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/