Update of /cvsroot/popfile/engine/Classifier
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1814/Classifier
Modified Files:
Tag: b0_22_2
Bayes.pm
Log Message:
Always do the tests FIRST!
Index: Bayes.pm
===================================================================
RCS file: /cvsroot/popfile/engine/Classifier/Bayes.pm,v
retrieving revision 1.327.4.14
retrieving revision 1.327.4.15
diff -C2 -d -r1.327.4.14 -r1.327.4.15
*** Bayes.pm 5 Mar 2008 07:39:44 -0000 1.327.4.14
--- Bayes.pm 5 Mar 2008 07:46:28 -0000 1.327.4.15
***************
*** 3955,3959 ****
if ( $string =~ s/\x00//g ) {
my ( $package, $file, $line ) = caller;
! $self->log( 0, "Found null-byte in string $string. Called from package '$package' ($file), line $line." );
}
--- 3955,3959 ----
if ( $string =~ s/\x00//g ) {
my ( $package, $file, $line ) = caller;
! $self->log_( 0, "Found null-byte in string $string. Called from package '$package' ($file), line $line." );
}
|