summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-04 02:29:27 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-04 02:29:27 +0000
commit928c584ec219f4d2b5b60a22842390e4057e7dd0 (patch)
tree93320224a3d53918ac1b929dbf350c706f4d9f3d /src
parent5bf61633e3c44ad65a91d90c4002475ddd5ef8e4 (diff)
downloadtor-928c584ec219f4d2b5b60a22842390e4057e7dd0.tar.gz
tor-928c584ec219f4d2b5b60a22842390e4057e7dd0.zip
r14700@tombo: nickm | 2007-11-03 22:29:21 -0400
Fix sign error in networkstatus_note_certs_arrived(). svn:r12371
Diffstat (limited to 'src')
-rw-r--r--src/or/networkstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index cacb1307c3..2bb653e3ef 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1384,7 +1384,7 @@ networkstatus_note_certs_arrived(void)
{
if (consensus_waiting_for_certs) {
if (networkstatus_check_consensus_signature(
- consensus_waiting_for_certs, 0)<0) {
+ consensus_waiting_for_certs, 0)>=0) {
if (!networkstatus_set_current_consensus(
consensus_waiting_for_certs_body, 0, 1)) {
tor_free(consensus_waiting_for_certs_body);