Removed #ifdef clause related to support of ancient ClamAV versions.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/24/head
Mavridis Philippe 4 years ago
parent 61d2d83c9f
commit b8a317c8ea
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -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){

Loading…
Cancel
Save