Skip to content

Commit

Permalink
fix compile err
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed Sep 30, 2024
1 parent bfe6fe8 commit 7642673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rs/src/transport/framed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ where
self.buf.resize(buf_capacity, 0);

self.chan.read_exact(&mut self.buf[..message_size])?;
self.cap = message_size as usize;
self.cap = message_size;
self.pos = 0;
}

Expand Down

0 comments on commit 7642673

Please sign in to comment.