~ubuntu-branches/ubuntu/lucid/bogofilter/lucid-security

« back to all changes in this revision

Viewing changes to src/prob.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-06 05:41:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090506054152-tgameecssbuv4np6
Tags: 1.2.0-2ubuntu1
* Merge from debian unstable, remaining changes: LP: #372497
  - don't build qdbm.
  - Don't build tokyocabinet support as it's in universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: prob.c 5381 2005-01-17 03:00:48Z relson $ */
 
1
/* $Id: prob.c 6733 2008-06-11 11:15:34Z relson $ */
2
2
 
3
3
/*****************************************************************************
4
4
 
16
16
 
17
17
double calc_prob(uint good, uint bad, uint goodmsgs, uint badmsgs)
18
18
{
19
 
    int n = good + bad;
 
19
    uint n = good + bad;
20
20
    double fw, pw;
21
21
 
22
22
    /* http://www.linuxjournal.com/article.php?sid=6467 */