Ticket #6398: 020-set_hashing_failed_if_it_really_faild.patch

File 020-set_hashing_failed_if_it_really_faild.patch, 572 bytes (added by m.storchak@…, 8 years ago)
  • rtorrent/src/core/download_list.cc

     
    481481      confirm_finished(download); 
    482482    } else { 
    483483      download->set_message("Hash check on download completion found bad chunks, consider using \"safe_sync\"."); 
     484          download->set_hash_failed(true); 
    484485      control->core()->push_log("Hash check on download completion found bad chunks, consider using \"safe_sync\"."); 
    485486    } 
    486487