Skip to content
Snippets Groups Projects
Commit d4718e4d authored by David Goulet's avatar David Goulet :panda_face:
Browse files

relay: We might be noting down an unknown DNS error type


Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 3fbd510c
No related branches found
Tags tor-0.3.3.4-alpha
No related merge requests found
......@@ -325,7 +325,8 @@ void
rep_hist_note_dns_error(int type, uint8_t error)
{
dns_stats_t *dns_stats = get_dns_stats_by_type(type);
if (BUG(!dns_stats)) {
/* Unsupported DNS query type. */
if (!dns_stats) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment