[cvs] bogofilter/src datastore_db.c,1.32,1.33 datastore.h,1.12,1.13 datastore_tdb.c,1.5,1.6 bogoconfig.c,1.90,1.91

Matthias Andree matthias.andree at gmx.de
Mon Aug 4 11:34:05 CEST 2003


relson at users.sourceforge.net writes:

> Log Message:
> Add function db_version_str() to provide database version info for print_version().
>
> +const char *db_version_str(void)
> +{
> +    if (verbose == 0)
> +	return "BerkeleyDB";

We don't need such code paths. "Always verbose" is fine for this
purpose. Let's keep it simple. The less "if"s, the more stable the code.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list