Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Feb 9, 2021
1 parent e18d9dd commit 631ebd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn maybe_truncate_response(
if encrypted_response_min_len > original_packet_size
|| encrypted_response_min_len > DNSCRYPT_UDP_RESPONSE_MAX_SIZE
{
return Ok(dns::serve_truncated_response(packet)?);
return dns::serve_truncated_response(packet);
}
}
Ok(response)
Expand Down

0 comments on commit 631ebd4

Please sign in to comment.