|
|
@ -754,11 +754,7 @@ TQString Freshklam::getCurrentDBDir(){
|
|
|
|
|
|
|
|
|
|
|
|
if (dbdir != dir_combo->url()){
|
|
|
|
if (dbdir != dir_combo->url()){
|
|
|
|
/* load all available databases from default directory */
|
|
|
|
/* load all available databases from default directory */
|
|
|
|
#ifdef SUPPORT_CLAMAV_V095
|
|
|
|
|
|
|
|
ret = cl_load((const char *)dir_combo->url(), engine, &no, CL_DB_STDOPT);
|
|
|
|
ret = cl_load((const char *)dir_combo->url(), engine, &no, CL_DB_STDOPT);
|
|
|
|
#else
|
|
|
|
|
|
|
|
ret = cl_load((const char *)dir_combo->url(), &engine, &no, CL_DB_STDOPT);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//ret = cl_loaddbdir((const char *)dir_combo->url(), &root, &no);
|
|
|
|
//ret = cl_loaddbdir((const char *)dir_combo->url(), &root, &no);
|
|
|
|
////kdDebug() << "ret " << ret << endl;
|
|
|
|
////kdDebug() << "ret " << ret << endl;
|
|
|
|
if (no == 0){
|
|
|
|
if (no == 0){
|
|
|
|