mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Only replace the detached signatures object when we actually added or replaced at least one signature.
svn:r17250
This commit is contained in:
+1
-1
@@ -2044,7 +2044,7 @@ dirvote_add_signatures_to_pending_consensus(
|
||||
sigs, msg_out);
|
||||
log_info(LD_DIR,"Added %d signatures to consensus.", r);
|
||||
|
||||
if (r >= 0) {
|
||||
if (r >= 1) {
|
||||
char *new_detached =
|
||||
networkstatus_get_detached_signatures(pending_consensus);
|
||||
const char *src;
|
||||
|
||||
Reference in New Issue
Block a user