[cvs] bogofilter/src globals.c,1.61,1.62 globals.h,1.68,1.69
Fast Bayesian spam filter along lines suggested by Paul Graham
Brought to you by:
m-a
From: <re...@us...> - 2004-08-22 15:25:30
|
Update of /cvsroot/bogofilter/bogofilter/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25290 Modified Files: globals.c globals.h Log Message: Kill warning for call to free(). Index: globals.c =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/globals.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -d -r1.61 -r1.62 --- globals.c 16 Aug 2004 17:57:33 -0000 1.61 +++ globals.c 22 Aug 2004 15:25:04 -0000 1.62 @@ -62,7 +62,7 @@ uint db_cachesize = DB_CACHESIZE; /* in MB */ enum passmode passmode; /* internal */ bool msg_count_file = false; -const char *progtype = NULL; +char *progtype = NULL; bool unsure_stats = false; /* true if print stats for unsures */ run_t run_type = RUN_UNKNOWN; Index: globals.h =================================================================== RCS file: /cvsroot/bogofilter/bogofilter/src/globals.h,v retrieving revision 1.68 retrieving revision 1.69 diff -u -d -r1.68 -r1.69 --- globals.h 16 Aug 2004 17:57:33 -0000 1.68 +++ globals.h 22 Aug 2004 15:25:19 -0000 1.69 @@ -45,7 +45,7 @@ extern const char *update_dir; extern const char *progname; -extern const char *progtype; +extern char *progtype; /*@observer@*/ extern const char *stats_prefix; extern const char *const version; |