64bit time_t patch
S.P.Zeidler
spz at serpens.de
Wed Nov 27 21:09:09 UTC 2013
Hi,
my system's innd survives news.daily so much better if I have:
--- snip ---
--- cc.c.orig 2013-11-27 20:55:27.000000000 +0000
+++ cc.c
@@ -952,7 +952,7 @@ CCname(char *av[])
mode = (cp->MaxCnx > 0 && cp->ActiveCnx == 0) ? "paused" : "";
buffer_sprintf(&CCreply, true, ":%s:%ld:%s",
cp->State == CScancel ? "cancel" : "nntp",
- (long) Now.tv_sec - cp->LastActive, mode);
+ (long) (Now.tv_sec - cp->LastActive), mode);
break;
case CTlocalconn:
buffer_sprintf(&CCreply, true, ":localconn::");
--- snip ---
otherwise innd segfaults on ctlinnd name "" when peers are connected.
(64bit time_t on a 32bit machine)
best regards,
spz
--
spz at serpens.de (S.P.Zeidler)
More information about the inn-workers
mailing list