소스 검색

clean up some comments

svn:r8338
Roger Dingledine 17 년 전
부모
커밋
ae67a044f0
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/or/dns.c
  2. 2 2
      src/or/or.h

+ 1 - 1
src/or/dns.c

@@ -674,7 +674,7 @@ dns_cancel_pending_resolve(char *address)
 }
 
 /** 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,

+ 2 - 2
src/or/or.h

@@ -1559,8 +1559,8 @@ typedef struct {
 
   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)