Small nnrpd.c correction
Christophe Wolfhugel
wolf at oleane.net
Sat Apr 15 09:39:40 UTC 2000
Got a core dump on that recently, as PERMaccessconf might be null.
*** nnrpd.c.orig Sat Apr 15 11:38:06 2000
--- nnrpd.c Sat Apr 15 11:38:23 2000
***************
*** 205,211 ****
if (ARTget)
syslog(L_NOTICE, "%s artstats get %d time %d size %d", ClientHost,
ARTget, ARTgettime, ARTgetsize);
! if (!readconf && PERMaccessconf->nnrpdoverstats && OVERcount)
syslog(L_NOTICE, "%s overstats count %d hit %d miss %d time %d size %d dbz %d seek %d get %d artcheck %d", ClientHost,
OVERcount, OVERhit, OVERmiss, OVERtime, OVERsize, OVERdbz, OVERseek, OVERget, OVERartcheck);
--- 205,211 ----
if (ARTget)
syslog(L_NOTICE, "%s artstats get %d time %d size %d", ClientHost,
ARTget, ARTgettime, ARTgetsize);
! if (!readconf && PERMaccessconf && PERMaccessconf->nnrpdoverstats && OVERcount)
syslog(L_NOTICE, "%s overstats count %d hit %d miss %d time %d size %d dbz %d seek %d get %d artcheck %d", ClientHost,
OVERcount, OVERhit, OVERmiss, OVERtime, OVERsize, OVERdbz, OVERseek, OVERget, OVERartcheck);
More information about the inn-workers
mailing list