summaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index bbf64e9b19..397c8ff489 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1424,9 +1424,10 @@ evdns_wildcard_check_callback(int result, char type, int count, int ttl,
log(dns_wildcard_one_notice_given ? LOG_INFO : LOG_NOTICE, LD_EXIT,
"Your DNS provider gave an answer for \"%s\", which "
"is not supposed to exist. Apparently they are hijacking "
- "DNS failures. Trying to correct for this. We've noticed %d possibly "
- "bad addresses so far.",
- string_address, strmap_size(dns_wildcard_response_count));
+ "DNS failures. Trying to correct for this. We've noticed %d "
+ "possibly bad address%s so far.",
+ string_address, strmap_size(dns_wildcard_response_count),
+ (strmap_size(dns_wildcard_response_count) == 1) ? "" : "es");
dns_wildcard_one_notice_given = 1;
}
tor_free(arg);