Ver código fonte

Submit the contribution to the score using

$permsgstatus->{conf}->{scoreset} rather than
$permsgstatus->{scoreset}.  This addresses the problem with
amavisd-new always having a score of 1

Update to version 0.9.2.



git-svn-id: https://svn.microneil.com/svn/PKG-SNF-CS-NIX/trunk@20 233e721a-07f6-49eb-a7da-05e0e16828fc
master
adeniz 15 anos atrás
pai
commit
621e2cb2d8

+ 11
- 0
SNF_CS_Developer_Package.3.0.2_p4/SNF4SA/ChangeLog Ver arquivo

@@ -0,0 +1,11 @@
2009-05-16 Alban Deniz <adeniz@skidmark.localdomain>

* snf4sa.pm (snf4sa_sacheck): Submit the contribution to the score
using $permsgstatus->{conf}->{scoreset} rather than
$permsgstatus->{scoreset}. This addresses the problem with
amavisd-new always having a score of 1.

2009-05-13 Alban Deniz <adeniz@skidmark.localdomain>

* snf4sa.pm (snf4sa_sacheck): Corrected calculation of GBUdb
contribution to SA score: sqrt(abs(p * c)) * weight.

+ 1
- 1
SNF_CS_Developer_Package.3.0.2_p4/SNF4SA/configure.ac Ver arquivo

@@ -13,7 +13,7 @@ dnl
dnl
AC_PREREQ(2.52)

AC_INIT(snf4sa, 0.9.1)
AC_INIT(snf4sa, 0.9.2)
AC_CONFIG_SRCDIR(snf4sa.cf)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)


+ 1
- 1
SNF_CS_Developer_Package.3.0.2_p4/SNF4SA/snf4sa.pm Ver arquivo

@@ -518,7 +518,7 @@ sub snf4sa_sacheck {
$permsgstatus->got_hit("SNF4SA", "", score => $deltaScore);
for my $set (0..3) {
$permsgstatus->{scoreset}->[$set]->{"SNF4SA"} =
$permsgstatus->{conf}->{scoreset}->[$set]->{"SNF4SA"} =
sprintf("%0.3f", $deltaScore);
}

Carregando…
Cancelar
Salvar