Skip to content

Commit b5c8624

Browse files
committed
Review fix: typo
1 parent d52242e commit b5c8624

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libclamav_rust/src/scanners.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub unsafe extern "C" fn scan_lha_lzh(ctx: *mut cli_ctx) -> cl_error_t {
175175
let result = match result_result {
176176
Ok(result) => result,
177177
Err(_) => {
178-
debug!("Panic occured when trying to open LHA archive with delharc crate");
178+
debug!("Panic occurred when trying to open LHA archive with delharc crate");
179179
return cl_error_t_CL_EFORMAT;
180180
}
181181
};
@@ -213,7 +213,7 @@ pub unsafe extern "C" fn scan_lha_lzh(ctx: *mut cli_ctx) -> cl_error_t {
213213
// Error checking CRC.
214214
// Use debug-level because may not actually be an LHA/LZH archive.
215215
// LHA/LZH does not have particularly identifiable magic bytes.
216-
debug!("An error occured when checking the CRC of this LHA or LZH archive: {err}");
216+
debug!("An error occurred when checking the CRC of this LHA or LZH archive: {err}");
217217
// break;
218218
}
219219
}
@@ -287,7 +287,7 @@ pub unsafe extern "C" fn scan_lha_lzh(ctx: *mut cli_ctx) -> cl_error_t {
287287
// Error getting the next file.
288288
// Use debug-level because may not actually be an LHA/LZH archive.
289289
// LHA/LZH does not have particularly identifiable magic bytes.
290-
debug!("An error occured when checking for the next file in this LHA or LZH archive: {err}");
290+
debug!("An error occurred when checking for the next file in this LHA or LZH archive: {err}");
291291
break;
292292
}
293293
}

0 commit comments

Comments
 (0)