portal: fix trace logging of messages
This commit is contained in:
parent
137d5fe200
commit
c6b189b07d
1 changed files with 1 additions and 1 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue