Skip to content

Commit

Permalink
suricata-eve-sqlite-output: fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aiooss-anssi committed Nov 15, 2024
1 parent baea4a4 commit ecaa319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suricata/suricata-eve-sqlite-output/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ extern "C" fn output_write(
buffer_len as usize + 1,
))
};
let text = text_cstr.to_string_lossy().to_owned();
let text = text_cstr.to_string_lossy().into_owned();

// Send text buffer to database thread
context.count += 1;
Expand Down

0 comments on commit ecaa319

Please sign in to comment.