[tor-commits] [tor/master] Let channel unit tests mess with global queue estimate

nickm at torproject.org nickm at torproject.org
Fri Nov 28 03:58:32 UTC 2014


commit ae3ed185e495499516173d6c5dd51ea49a0aa9c1
Author: Andrea Shepard <andrea at torproject.org>
Date:   Tue Jan 21 22:30:02 2014 -0800

    Let channel unit tests mess with global queue estimate
---
 src/or/channel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/channel.c b/src/or/channel.c
index 76ade4f..18c236f 100644
--- a/src/or/channel.c
+++ b/src/or/channel.c
@@ -109,7 +109,7 @@ static uint64_t n_channel_bytes_in_queues = 0;
  * transmit overhead*
  */
 
-static uint64_t estimated_total_queue_size = 0;
+STATIC uint64_t estimated_total_queue_size = 0;
 
 /* Digest->channel map
  *





More information about the tor-commits mailing list