Fix a bug in reading CircPriorityHalflife from consensus
commitd888a8210fc33d9d0ad835c05a2bf8b7b6882830
authorNick Mathewson <nickm@torproject.org>
Mon, 12 Apr 2010 19:38:54 +0000 (12 15:38 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 12 Apr 2010 19:38:54 +0000 (12 15:38 -0400)
treed0cad8809ca872a2851ec019ffeb2f0edfd46926
parent8aec982f910f918785158038e5afafe55f869372
Fix a bug in reading CircPriorityHalflife from consensus

When you mean (a=b(c,d)) >= 0, you had better not say (a=b(c,d)>=0).
We did the latter, and so whenever CircPriorityHalflife was in the
consensus, it was treated as having a value of 1 msec (that is,
boolean true).
changes/read_circpriorityhalflife_correctly [new file with mode: 0644]
src/or/relay.c