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

[or-cvs] r8338: clean up some comments (tor/trunk/src/or)



Author: arma
Date: 2006-09-06 21:23:15 -0400 (Wed, 06 Sep 2006)
New Revision: 8338

Modified:
   tor/trunk/src/or/dns.c
   tor/trunk/src/or/or.h
Log:
clean up some comments


Modified: tor/trunk/src/or/dns.c
===================================================================
--- tor/trunk/src/or/dns.c	2006-09-07 01:22:55 UTC (rev 8337)
+++ tor/trunk/src/or/dns.c	2006-09-07 01:23:15 UTC (rev 8338)
@@ -674,7 +674,7 @@
 }
 
 /** Helper: adds an entry to the DNS cache mapping <b>address</b> to the ipv4
- * address 'addr'.  'ttl is a cache ttl; 'outcome' is one of
+ * address <b>addr</b>.  <b>ttl</b> is a cache ttl; <b>outcome</b> is one of
  * DNS_RESOLVE_{FAILED_TRANSIENT|FAILED_PERMANENT|SUCCEEDED}. */
 static void
 add_answer_to_cache(const char *address, uint32_t addr, char outcome,

Modified: tor/trunk/src/or/or.h
===================================================================
--- tor/trunk/src/or/or.h	2006-09-07 01:22:55 UTC (rev 8337)
+++ tor/trunk/src/or/or.h	2006-09-07 01:23:15 UTC (rev 8338)
@@ -1559,8 +1559,8 @@
 
   char *VirtualAddrNetwork; /**< Address and mask to hand out for virtual
                              * MAPADDRESS requests. */
-  int SearchDomains; /**< If provided, we don't force exit addresses to be
-                      * fqdns, but rather search for them in the local
+  int SearchDomains; /**< Boolean: If set, we don't force exit addresses to
+                      * be FQDNs, but rather search for them in the local
                       * domains. */
   char *ResolvConf; /**< If provided, we configure our internal resolver from
                      * the file here rather than from /etc/resolv.conf (unix)