buff_t cleanup

Matthias Andree matthias.andree at gmx.de
Sat Mar 1 02:52:06 CET 2003


On Fri, 28 Feb 2003, David Relson wrote:

> However, bogofilter does need to know about the most recently read line (to 
> save it for passthrough and to print it for debugging), so buff_fgetsl() 
> savees the start position of the line in buff->read.

OK. How do I use that buff->read, more precisely: when is buff->read
cleared (reset to 0)?

> These changes put more of the "bookkeeping code" for buff_t in buff.c and 
> simplify the use of the struct.  This should help maintain the code.

Thanks.

-- 
Matthias Andree




More information about the bogofilter-dev mailing list