View | Details | Raw Unified
Collapse All | Expand All

(-) klamav-0.40-source-orig/klamav-0.40/src/freshklam.cpp (-1 / +3 lines)
 Lines 835-841    Link Here 
    
    
    if (dbdir != dir_combo->url()){
    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;
        ////kdDebug() << "ret " << ret << endl;
        if (no == 0){
        if (no == 0){
            db = dbdir;
            db = dbdir;
(-) klamav-0.40-source-orig/klamav-0.40/src/klamav.cpp (+2 lines)
 Lines 184-189    Link Here 
	hide();
	hide();
	//return false;
	//return false;
	// no default ret value
	return true;
}
}
(-) klamav-0.40-source-orig/klamav-0.40/src/dbviewer.cpp (-1 / +3 lines)
 Lines 815-821    Link Here 
    dbdir = lastDownloadPaths.first();
    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;
    //kdDebug() << "no " << no << endl;
    cl_free(root);
    cl_free(root);
    return no;
    return no;