Skip to content

Commit

Permalink
Update src/codec/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Kohlhase <[email protected]>
  • Loading branch information
uklotzde and flosse authored Oct 17, 2024
1 parent c9cb4e7 commit 11fc29f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fn encode_response_pdu(buf: &mut crate::bytes::BytesMut, response: &Response) {
}

#[cfg(any(test, feature = "server"))]
fn encode_exception_response_pdu(buf: &mut crate::bytes::BytesMut, rsp: ExceptionResponse) {
fn encode_exception_response_pdu(buf: &mut crate::bytes::BytesMut, response: ExceptionResponse) {
use crate::bytes::BufMut as _;
debug_assert!(rsp.function.value() < 0x80);
buf.put_u8(rsp.function.value() + 0x80);
Expand Down

0 comments on commit 11fc29f

Please sign in to comment.