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

[or-cvs] r7026: fix typo, add explanatory comment (tor/trunk/src/or)



Author: arma
Date: 2006-08-11 03:31:16 -0400 (Fri, 11 Aug 2006)
New Revision: 7026

Modified:
   tor/trunk/src/or/dns.c
   tor/trunk/src/or/main.c
Log:
fix typo, add explanatory comment


Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c	2006-08-11 07:17:16 UTC (rev 7025)
+++ tor/trunk/src/or/dns.c	2006-08-11 07:31:16 UTC (rev 7026)
@@ -8,7 +8,7 @@
 /**
  * \file dns.c
  * \brief Implements a local cache for DNS results for Tor servers.
- * We provide two asynchrounous backend implementations:
+ * We provide two asynchronous backend implementations:
  *   1) A farm of 'DNS worker' threads or processes to perform DNS lookups for
  *      onion routers and cache the results.
  *   2) A wrapper around Adam Langley's eventdns.c code, to send requests

Modified: tor/trunk/src/or/main.c
===================================================================
--- tor/trunk/src/or/main.c	2006-08-11 07:17:16 UTC (rev 7025)
+++ tor/trunk/src/or/main.c	2006-08-11 07:31:16 UTC (rev 7026)
@@ -2143,7 +2143,7 @@
   case CMD_VERIFY_CONFIG:
     printf("Configuration was valid\n");
     break;
-  case CMD_RUN_UNITTESTS:
+  case CMD_RUN_UNITTESTS: /* only set by test.c */
   default:
     log_warn(LD_BUG,"Illegal command number %d: internal error.",
              get_options()->command);