Jesus,

Thanks for the code. So, your patch just adds an extra
field to the stats line that shows how much total data
was retrieved in that session?

Just looking for clarification.

Thanks!
-Chris
WSO


At 08:45 PM 6/21/2001 +0200, you wrote:
>> and my question can be reformulated in "why the statistics after each
>> session (enabled with option -t) don't still integrate one additionnal 
>> field (after the 4 others numbers), that give the amount of fetched
>> data (header + body)  ?"
>
>I've done trivial patch against current sources:
>
>>>>>>
>
>Index: popper/pop_updt.c
>===================================================================
>RCS file: /opt/src/cvsroot/qpopper/popper/pop_updt.c,v
>retrieving revision 1.1.1.2
>retrieving revision 1.1.1.2.14.1
>diff -c -u -r1.1.1.2 -r1.1.1.2.14.1
>cvs server: conflicting specifications of output style
>--- popper/pop_updt.c   2001/04/16 21:44:34     1.1.1.2
>+++ popper/pop_updt.c   2001/06/04 06:42:58     1.1.1.2.14.1
>@@ -293,10 +293,11 @@
>     DEBUG_LOG0 ( p, "Checking to see if all messages were deleted" );
> 
>     if ( p->bStats ) {
>-        pop_log ( p, POP_PRIORITY, HERE, "Stats: %s %d %ld %d %ld %s %s",
>+        pop_log ( p, POP_PRIORITY, HERE, "Stats: %s %d %ld %d %ld %ld %s %s",
>                   p->user, p->msgs_deleted, p->bytes_deleted,
>                   p->msg_count - p->msgs_deleted,
>                   p->drop_size - p->bytes_deleted,
>+                  ftell(p->output),
>                   p->client, p->ipaddr );
>     }
>   
><<<<<
>
>-- 
>Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
>[EMAIL PROTECTED] http://www.argo.es/~jcea/ _/_/    _/_/  _/_/    _/_/  _/_/
>                                      _/_/    _/_/          _/_/_/_/_/
>PGP Key Available at KeyServ   _/_/  _/_/    _/_/          _/_/  _/_/
>"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
>"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
>"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

Reply via email to