diff options
author | Nick Mathewson <nickm@torproject.org> | 2021-03-15 09:01:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2021-03-15 09:01:59 -0400 |
commit | 3268403ba1fac9366575f4511b9f46d2b7738039 (patch) | |
tree | a65dd708e6589484bcc3370fb74a15f15a0e84f0 /src/feature/dirauth | |
parent | cfeb063f2462ef374a77d38c39a14b88255dc8a5 (diff) | |
parent | 61731e35507fea1c932f80f0849dcae924113df1 (diff) | |
download | tor-3268403ba1fac9366575f4511b9f46d2b7738039.tar.gz tor-3268403ba1fac9366575f4511b9f46d2b7738039.zip |
Merge branch 'maint-0.4.5'
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r-- | src/feature/dirauth/dirvote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c index 4b9cb9f9f3..ffaa78b997 100644 --- a/src/feature/dirauth/dirvote.c +++ b/src/feature/dirauth/dirvote.c @@ -3610,7 +3610,7 @@ dirvote_add_signatures_to_pending_consensus( strlen(pc->body) + strlen(new_signatures) + 1; pc->body = tor_realloc(pc->body, new_consensus_len); dst_end = pc->body + new_consensus_len; - dst = strstr(pc->body, "directory-signature "); + dst = (char *) find_str_at_start_of_line(pc->body, "directory-signature "); tor_assert(dst); strlcpy(dst, new_signatures, dst_end-dst); |