inn_status.html truncated
Paul Theodoropoulos
paul at atgi.net
Wed Oct 6 18:20:06 UTC 1999
thanks, Katsuhiro. That fixed it.
regards,
paul
>Oops, this is my fault, and just fixed. Try attached.
>--
>Katsuhiro Kondou
>
>--- innd/status.c.orig Mon Oct 4 19:59:53 1999
>+++ innd/status.c Thu Oct 7 00:14:28 1999
>@@ -138,7 +138,7 @@
> fprintf (F, "%s\n", Version);
> fprintf (F, "pid %d started %s\n", (int) getpid(), start_time);
>
>- head = NULL;
>+ tmp = head = NULL;
> for (i = 0; (cp = CHANiter(&i, CTnntp)) != NULL; ) {
> j = 0;
> strcpy(TempString, cp->Address.s_addr == 0 ? "localhost" :
> RChostname(cp));
>@@ -170,7 +170,8 @@
> if (head == NULL)
> head = status;
> else
>- head->next = status;
>+ tmp->next = status;
>+ tmp = status;
> }
> if (Now.time - cp->Started > status->seconds)
> status->seconds = Now.time - cp->Started;
----------------------------------------------------------------
Paul Theodoropoulos Advanced TelCom Group Inc.
Senior Unix Admin Internet Services Division
paul at atgi.net Santa Rosa, California, US
Work: http://www.atgi.net Play: http://www.anastrophe.com
More information about the inn-workers
mailing list