Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
if (dbdir != dir_combo->url()){
ret = cl_loaddbdir((const char *)dir_combo->url(), &root, &no);
//ret = cl_loaddbdir((const char *)dir_combo->url(), &root, &no);
// clamav 0.90 update
ret = cl_load((const char *)dir_combo->url(), &root, &no, CL_DB_STDOPT);
////kdDebug() << "ret " << ret << endl;
if (no == 0){
db = dbdir;
hide();
//return false;
// no default ret value
return true;
}
dbdir = lastDownloadPaths.first();
ret = cl_loaddbdir((const char *)dbdir, &root, &no);
//ret = cl_loaddbdir((const char *)dbdir, &root, &no);
// clamav-0.90 update
ret = cl_load((const char *)dbdir, &root, &no, CL_DB_STDOPT);
//kdDebug() << "no " << no << endl;
cl_free(root);
return no;