summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-10-16 17:13:28 +0000
committerRoger Dingledine <arma@torproject.org>2008-10-16 17:13:28 +0000
commite3127e874eafd473d8f09b0429a2db7ed4852f93 (patch)
tree5e1718f656a81388dde39f7c9a9a27554de021d9
parentfa7d60d0cdae708fd95bf2fbfa64e310d363bf58 (diff)
downloadtor-e3127e874eafd473d8f09b0429a2db7ed4852f93.tar.gz
tor-e3127e874eafd473d8f09b0429a2db7ed4852f93.zip
fix grammar in a log message
svn:r17131
-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);