Re: [cvs] bogofilter/src globals.h,1.77,1.78 globals.c,1.73,1.74
David Relson <[email protected]>
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Organization | Osage Software Systems, Inc. |
| Message-ID | <[email protected]> |
On Fri, 22 Apr 2005 00:46:24 +0200 Matthias Andree wrote: > David Relson <[email protected]> writes: > > > Update of /cvsroot/bogofilter/bogofilter/src > > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22645 > > > > Modified Files: > > globals.h globals.c > > Log Message: > > Add bogofilter and bogoutil specific booleans. > > Uh - is adding complexity really the right thing to do? > I hate those globals, they make the code harder to read. > > > +bool fBogofilter = false; > > +bool fBogotune = false; > > +bool fBogoutil = false; Something like the following could be done: enum e_PROG { P_BOGOFILTE,< P_BOGOTUNE, P_BOGOUTIL } _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev