]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix grammar in a log message
authorRoger Dingledine <arma@torproject.org>
Thu, 16 Oct 2008 17:13:28 +0000 (17:13 +0000)
committerRoger Dingledine <arma@torproject.org>
Thu, 16 Oct 2008 17:13:28 +0000 (17:13 +0000)
svn:r17131

src/or/dns.c

index bbf64e9b19b691b39db69f78d57f7e551af7bb00..397c8ff4898adadcc518eafbde8bb21f4a85371f 100644 (file)
@@ -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);