[or-cvs] fix the function comment

Roger Dingledine arma at seul.org
Sat Feb 28 22:34:49 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	dns.c 
Log Message:
fix the function comment


Index: dns.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dns.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- dns.c	28 Feb 2004 22:23:44 -0000	1.59
+++ dns.c	28 Feb 2004 22:34:47 -0000	1.60
@@ -191,7 +191,6 @@
   return 0;
 }
 
-
 void connection_dns_remove(connection_t *conn)
 {
   struct pending_connection_t *pend, *victim;
@@ -233,9 +232,8 @@
   }
 }
 
-/* If onlyconn is NULL, cancel all pending connections. If onlyconn is
- * defined, then remove onlyconn from the pending list.  Does not cancel the
- * resolve itself, or remove the 'struct cached_resolve' from the cache.
+/* Cancel all pending connections. Then cancel the resolve itself,
+ * and remove the 'struct cached_resolve' from the cache.
  */
 void dns_cancel_pending_resolve(char *address) {
   struct pending_connection_t *pend;
@@ -284,7 +282,6 @@
   SPLAY_REMOVE(cache_tree, &cache_root, resolve);
 
   free(resolve);
-
 }
 
 static void dns_found_answer(char *address, uint32_t addr) {



More information about the tor-commits mailing list