Skip to content

Commit

Permalink
Review fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
micahsnyder committed Mar 27, 2024
1 parent d52242e commit 6484f76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libclamav_rust/src/scanners.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ pub unsafe extern "C" fn scan_lha_lzh(ctx: *mut cli_ctx) -> cl_error_t {
// Error checking CRC.
// Use debug-level because may not actually be an LHA/LZH archive.
// LHA/LZH does not have particularly identifiable magic bytes.
debug!("An error occured when checking the CRC of this LHA or LZH archive: {err}");
debug!("An error occurred when checking the CRC of this LHA or LZH archive: {err}");
// break;
}
}
Expand Down Expand Up @@ -287,7 +287,7 @@ pub unsafe extern "C" fn scan_lha_lzh(ctx: *mut cli_ctx) -> cl_error_t {
// Error getting the next file.
// Use debug-level because may not actually be an LHA/LZH archive.
// LHA/LZH does not have particularly identifiable magic bytes.
debug!("An error occured when checking for the next file in this LHA or LZH archive: {err}");
debug!("An error occurred when checking for the next file in this LHA or LZH archive: {err}");
break;
}
}
Expand Down

0 comments on commit 6484f76

Please sign in to comment.