3 http://www.oss4aix.org/download/patches/webalizer-2.01-10-groupvisit.patch
5 https://gitlab.7f.dk/Kralian/oi-userland/blob/ef967b086bc86c4e4af7237f974cb574547bde30/components/webalizer/patches/webalizer-2.01-10-groupvisit.patch
7 --- webalizer-2.23-08/hashtab.c.orig 2016-03-08 14:40:57.594469202 -0800
8 +++ webalizer-2.23-08/hashtab.c 2016-03-08 14:46:27.371481210 -0800
10 DNODEPTR host_table[MAXHASH]; /* DNS hash table */
13 +u_long pre_tstamp = 0; /* prev. real record tstamp */
15 /*********************************************/
16 /* DEL_HTABS - clear out our hash tables */
17 /*********************************************/
19 nptr->visit=(visit-1);
20 nptr->lasturl=find_url(lasturl);
22 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;
27 if (htab==sm_htab) update_entry(log_rec.url);
28 nptr->lasturl=find_url(log_rec.url);
30 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;
36 if (ispage(log_rec.url))
38 - if ((tstamp-cptr->tstamp)>=visit_timeout)
39 + if ((type!=OBJ_GRP)&&(cptr->flag!=OBJ_GRP)) pre_tstamp=cptr->tstamp;
40 + if ((tstamp-pre_tstamp)>=visit_timeout)
45 nptr->visit = (visit-1);
46 nptr->lasturl=find_url(lasturl);
48 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;
53 if (htab==sm_htab) update_entry(log_rec.url);
54 nptr->lasturl=find_url(log_rec.url);
56 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;
62 nptr->visit=(visit-1);
64 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;
69 - if (ispage(log_rec.url)) nptr->tstamp=tstamp;
70 + if (ispage(log_rec.url))
72 + nptr->tstamp=tstamp;
73 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;
80 if (ispage(log_rec.url))
82 - if ((tstamp-cptr->tstamp)>=visit_timeout)
83 + if ((type!=OBJ_GRP)&&(cptr->flag!=OBJ_GRP)) pre_tstamp=cptr->tstamp;
84 + if ((tstamp-pre_tstamp)>=visit_timeout)
90 nptr->visit = (visit-1);
92 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;
97 - if (ispage(log_rec.url)) nptr->tstamp= tstamp;
98 + if (ispage(log_rec.url))
100 + nptr->tstamp= tstamp;
101 + if ((type!=OBJ_GRP)&&(nptr->flag!=OBJ_GRP)) pre_tstamp=nptr->tstamp;