-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[EMAIL PROTECTED] writes:
> Author: felicity
> Date: Wed Dec 15 22:25:05 2004
> New Revision: 122529
> 
> URL: http://svn.apache.org/viewcvs?view=rev&rev=122529
> Log:
> got a syntax error doing reporting.  also, no point in doing regexp since 
> we're looking for explicit strings, just use eq.

what about the newline?

- --j.

> Modified:
>    spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm
> 
> Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm
> Url:
> http://svn.apache.org/viewcvs/spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm?view=diff&rev=122529&p1=spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm&r1=122528&p2=spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm&r2=122529
> ==============================================================================
> --- spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm      (original)
> +++ spamassassin/trunk/lib/Mail/SpamAssassin/Reporter.pm      Wed Dec 15 
> 22:25:05 2004
> @@ -239,9 +239,9 @@
>  
>    if ($err) {
>      alarm $oldalarm;
> -    if ($err =~ /^__alarm__$/) {
> +    if ($err eq '__alarm__') {
>        dbg("reporter: pyzor report timed out after $timeout seconds");
> -    } elsif ($err /^__brokenpipe__$/) {
> +    } elsif ($err eq '__brokenpipe__') {
>        dbg("reporter: pyzor report failed: broken pipe");
>      } else {
>        warn("reporter: pyzor report failed: $err\n");
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFBwds7MJF5cimLx9ARAii3AJ9P6ssd2Qbh47kImDy0Ns0w01wxpACeP374
DEDBV1jX/5zg4+qO3fgxCgI=
=uN5K
-----END PGP SIGNATURE-----

Reply via email to