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

[or-cvs] ah, that explains why we weren"t going dormant with



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

Modified Files:
	rephist.c 
Log Message:
ah, that explains why we weren't going dormant with
respect to descriptor fetches. maybe now it will work.


Index: rephist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/rephist.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -p -d -r1.88 -r1.89
--- rephist.c	3 Jun 2006 19:49:42 -0000	1.88
+++ rephist.c	8 Jun 2006 09:20:58 -0000	1.89
@@ -920,7 +920,7 @@ rep_hist_circbuilding_dormant(void)
 {
   /* Any ports used lately? These are pre-seeded if we just started
    * up or if we're running a hidden service. */
-  if (predicted_ports_list || predicted_internal_time)
+  if (smartlist_len(predicted_ports_list) || predicted_internal_time)
     return 0;
 
   /* see if we'll still need to build testing circuits */