Changeset 107

Show
Ignore:
Timestamp:
11.12.2006 01:23:07 (2 years ago)
Author:
decoder
Message:

Fix typos in .cf and fuzzy-find
Fix warnings with untie in both Config.pm and Hashing.pm

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/devel/FuzzyOcr.cf

    r104 r107  
    149149# types of spam, setting it too low will lower the effectiveness of the  
    150150# function.  
    151 # Default value: 10. 
     151# Default value: 10 
    152152#focr_autosort_buffer 10 
    153153 
  • trunk/devel/FuzzyOcr/Config.pm

    r106 r107  
    677677                infolog("<$hash> Known BAD Image Hashes Available"); 
    678678                $sdbm->UnLock; 
     679                undef $sdbm; 
    679680                untie %DB; 
    680681            } 
     
    698699                infolog("<$hash> Known GOOD Image Hashes Available"); 
    699700                $sdbm->UnLock; 
     701                undef $sdbm; 
    700702                untie %DB; 
    701703            } 
     
    740742                } 
    741743                $sdbm->UnLock; 
     744                undef $sdbm; 
    742745                untie %DB; 
    743746                infolog("Stored [$err] Hashes in $db.$tab") if $err>0; 
     
    777780                } 
    778781                $sdbm->UnLock; 
     782                undef $sdbm; 
    779783                untie %DB; 
    780784                infolog("Stored [$err] Hashes in $db.$tab") if $err>0; 
  • trunk/devel/FuzzyOcr/Hashing.pm

    r99 r107  
    191191        } 
    192192        $sdbm->UnLock; 
     193        undef $sdbm; 
    193194        untie %DB; 
    194195        return ($ret,$dinfo); 
     
    300301        } 
    301302        $sdbm->UnLock; 
     303        undef $sdbm; 
    302304        untie %DB; 
    303305    } 
  • trunk/devel/Utils/fuzzy-find

    r89 r107  
    4242    print "Available options:\n"; 
    4343    print "--config=s   Specify location of FuzzyOcr.cf\n"; 
    44     print "             Default: /etc/mail/spamassasin/FuzzyOcr.cf\n"; 
     44    print "             Default: /etc/mail/spamassassin/FuzzyOcr.cf\n"; 
    4545    print "--delete     Removes the hash from the database\n"; 
    4646    print "--learn-ham  Add the hash as ham to the database\n";