]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix typo, add explanatory comment
authorRoger Dingledine <arma@torproject.org>
Fri, 11 Aug 2006 07:31:16 +0000 (07:31 +0000)
committerRoger Dingledine <arma@torproject.org>
Fri, 11 Aug 2006 07:31:16 +0000 (07:31 +0000)
svn:r7026

src/or/dns.c
src/or/main.c

index 4479d2b80b26bdf98b6d512761ed630ed40d1361..54b784f7d77086d77a0c5d74f14add890e1e4ba0 100644 (file)
@@ -8,7 +8,7 @@ const char dns_c_id[] =
 /**
  * \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
index 9c34e325b41ef4c0a5ac288df26d9b9ddd353989..7493dd8320af17aebabfbf58f6cbb5fb9f093ae0 100644 (file)
@@ -2143,7 +2143,7 @@ tor_main(int argc, char *argv[])
   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);