On Tue, 01 Mar 2005 15:18:42 -0500
John Peacock <[EMAIL PROTECTED]> wrote:
> 3) clamdscan - Yet Another ClamAV scanner, this one uses Matt's Clamd
> module to talk directly to the clamd daemon (should be faster than the
> native clamav plugin).
Just a small fix to allow another socket than the default /tmp/clamd.
Hanno
--- clamdscan.bak Tue Mar 1 21:11:09 2005
+++ clamdscan Wed Mar 2 07:22:35 2005
@@ -145,7 +145,8 @@
$clamd = Clamd->new( port => $port );
}
else {
- $clamd = Clamd->new(); # default unix domain socket
+ $clamd = Clamd->new( port => $self->{"_clamd"}->{"clamd_socket"} );
+ # default unix domain socket
}
return (DECLINED) unless $clamd->ping();