[or-cvs] fix typo, remove extraneous variable

arma at seul.org arma at seul.org
Mon Apr 3 11:24:16 UTC 2006


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

Modified Files:
	circuitlist.c routerlist.c 
Log Message:
fix typo, remove extraneous variable


Index: circuitlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitlist.c,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -p -d -r1.92 -r1.93
--- circuitlist.c	13 Feb 2006 08:28:42 -0000	1.92
+++ circuitlist.c	3 Apr 2006 11:24:14 -0000	1.93
@@ -676,7 +676,7 @@ _circuit_mark_for_close(circuit_t *circ,
     reason = END_CIRC_REASON_NONE;
   } else if (CIRCUIT_IS_ORIGIN(circ) && reason != END_CIRC_REASON_NONE) {
     /* Don't warn about this; there are plenty of places where our code
-     * is origin-agnosic. */
+     * is origin-agnostic. */
     reason = END_CIRC_REASON_NONE;
   }
   if (reason < _END_CIRC_REASON_MIN || reason > _END_CIRC_REASON_MAX) {

Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.482
retrieving revision 1.483
diff -u -p -d -r1.482 -r1.483
--- routerlist.c	3 Apr 2006 06:59:07 -0000	1.482
+++ routerlist.c	3 Apr 2006 11:24:14 -0000	1.483
@@ -2612,7 +2612,6 @@ compute_recommended_versions(time_t now,
     {
       const char *vers;
       smartlist_t *versions;
-      int i;
       if (! ns->recommends_versions)
         continue;
       if (ns->received_on + SELF_OPINION_INTERVAL < now)



More information about the tor-commits mailing list