#43 Counts 1 message (in log) when STDIN is empty

closed
nobody
None
5
2003-03-30
2003-03-29
No

Pipe an empty file to bogofilter with -l and it still
logs "1 messages", e.g.:
Mar 29 19:10:53 thor bogofilter[32218]: register-Sn, 0
words, 1 messages
I would expect it to say "0 messages" in this case, or
just exit silently or something.

It doesn't update the message counts in the .db files,
so this is a fairly trivial bug.

Discussion

  • David Relson

    David Relson - 2003-03-29

    Logged In: YES
    user_id=30510

    It should be easy to fix. I'll add a check for 0 words ...

     
  • David Relson

    David Relson - 2003-03-30
    • status: open --> closed
     
  • David Relson

    David Relson - 2003-03-30

    Logged In: YES
    user_id=30510

    Fixed in CVS. Will be in next releas.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks