[cvs] bogofilter rstats.c,1.4,1.4.2.1
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <m-...@us...> - 2002-11-06 10:45:06
|
Update of /cvsroot/bogofilter/bogofilter In directory usw-pr-cvs1:/tmp/cvs-serv16905 Modified Files: Tag: bogofilter-0_8_0 rstats.c Log Message: Use xmalloc rather than malloc. Index: rstats.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/rstats.c,v retrieving revision 1.4 retrieving revision 1.4.2.1 diff -C2 -d -r1.4 -r1.4.2.1 *** rstats.c 30 Oct 2002 14:13:35 -0000 1.4 --- rstats.c 6 Nov 2002 10:45:03 -0000 1.4.2.1 *************** *** 79,83 **** current->bad = bad; current->prob = prob; ! current->next = (rstats_t *)malloc( sizeof(rstats_t)); current = current->next; } --- 79,83 ---- current->bad = bad; current->prob = prob; ! current->next = (rstats_t *)xmalloc(sizeof(rstats_t)); current = current->next; } |