Skip to content

Commit

Permalink
Test that the truncate bit is encoded/decoded in the Message
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian Laidlaw authored and bluejekyll committed Mar 5, 2021
1 parent 9817381 commit b2ea1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/proto/src/op/message.rs
Expand Up @@ -560,7 +560,7 @@ impl Message {
pub fn update_counts(&mut self) -> &mut Self {
self.header = update_header_counts(
&self.header,
false,
self.truncated(),
HeaderCounts {
query_count: self.queries.len(),
answer_count: self.answers.len(),
Expand Down

0 comments on commit b2ea1fd

Please sign in to comment.