Skip to content

Commit

Permalink
fix Connect::write return value in benchmarks code
Browse files Browse the repository at this point in the history
  • Loading branch information
amokfa committed Mar 11, 2024
1 parent d860ab8 commit 21f619e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/simplerouter/src/protocol/v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub(crate) mod connect {

// update connect flags
buffer[flags_index] = connect_flags;
Ok(len)
Ok(1 + count + len)
}
}

Expand Down

0 comments on commit 21f619e

Please sign in to comment.