[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r17131: {tor} fix grammar in a log message (tor/trunk/src/or)



Author: arma
Date: 2008-10-16 13:13:28 -0400 (Thu, 16 Oct 2008)
New Revision: 17131

Modified:
   tor/trunk/src/or/dns.c
Log:
fix grammar in a log message


Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c	2008-10-16 17:01:53 UTC (rev 17130)
+++ tor/trunk/src/or/dns.c	2008-10-16 17:13:28 UTC (rev 17131)
@@ -1424,9 +1424,10 @@
     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);