[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11098: Check for *at least* as many signatures as required, not for (in tor/trunk: . src/or)
Author: nickm
Date: 2007-08-13 20:07:29 -0400 (Mon, 13 Aug 2007)
New Revision: 11098
Modified:
tor/trunk/
tor/trunk/src/or/dirvote.c
Log:
r14001@kushana: nickm | 2007-08-13 20:06:36 -0400
Check for *at least* as many signatures as required, not for *more* signatures than required.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r14001] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/src/or/dirvote.c
===================================================================
--- tor/trunk/src/or/dirvote.c 2007-08-13 23:23:06 UTC (rev 11097)
+++ tor/trunk/src/or/dirvote.c 2007-08-14 00:07:29 UTC (rev 11098)
@@ -753,7 +753,12 @@
++n_no_signature;
});
- if (n_good > n_required)
+ log_notice(LD_DIR,
+ "%d unknown, %d missing key, %d good, %d bad, %d no signature,"
+ "%d required", n_unknown, n_missing_key, n_good, n_bad,
+ n_no_signature, n_required);
+
+ if (n_good >= n_required)
return 0;
else
return -1;