On Thu, 14 Apr 2005 07:39:41 +0200 christian laubscher <[EMAIL PROTECTED]> wrote:
>
> 84rc1 (same in cvs) freshclam, manager.c:
>
> __cut__
> if(optl(opt, "on-update-execute"))
> arg = getargl(opt, "on-update-execute");
> else if((cpt = cfgopt(copt, "OnUpdateExecute")))
> arg = cpt->strarg;
>
> if(arg) {
> if(optc(opt, 'd'))
> execute( "OnUpdateExecute", pt );
> else
> system(pt);
> }
> __cut__
>
> is 'pt' useful here, at all?
No, it isn't.
> or should rather 'arg' be used?
Yes, it should.
The problem has been fixed in CVS.
--
oo ..... Tomasz Kojm <[EMAIL PROTECTED]>
(\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg
\..........._ 0DCA5A08407D5288279DB43454822DC8985A444B
//\ /\ Thu Apr 14 14:32:06 CEST 2005
pgpSMI2cHWei2.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
