Skip to content

Commit

Permalink
constraint: prefix should encode for the length of the following buffer
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Gautier <[email protected]>
  • Loading branch information
baloo committed Aug 1, 2024
1 parent de39149 commit c9b476b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proto/extension/constraint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ mod tests {

#[rustfmt::skip]
let mut buffer: &[u8] = const_str::concat_bytes!(
[0, 0, 0, 114], //
[0, 0, 0, 110], //
[0, 0, 0, 12], //from:
[0, 0, 0, 0], //username
[0, 0, 0, 0], //hostname
Expand Down

0 comments on commit c9b476b

Please sign in to comment.