Skip to content

Commit

Permalink
portal: fix trace logging of messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Apr 18, 2024
1 parent 137d5fe commit c6b189b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pipewire/pw_con.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ impl PwCon {
);
if log::log_enabled!(log::Level::Trace) {
log::trace!("CALL {}@{}: `{:?}`:", interface, id, opcode);
let mut parser = PwParser::new(&buf[16..], &fds);
let mut parser = PwParser::new(&buf[16..buf.len()], &fds);
while parser.len() > 0 {
log::trace!("{:#?}", parser.read_pod().unwrap());
}
Expand Down

0 comments on commit c6b189b

Please sign in to comment.