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?
or should rather 'arg' be used?
--
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html
