summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2021-12-15 12:38:30 +0000
committerAlexander Færøy <ahf@torproject.org>2021-12-15 12:38:30 +0000
commit95b82c4feede91e18ec24dafeb382208186a9791 (patch)
tree5fb8d97ab989c328a95809190011e397cef2da1d /src
parent39848ca1669b25135d484aa23cfbb0a796dc0e63 (diff)
parent86819229afde13ae8466ee782f4c4bd9ba6f37cd (diff)
downloadtor-95b82c4feede91e18ec24dafeb382208186a9791.tar.gz
tor-95b82c4feede91e18ec24dafeb382208186a9791.zip
Merge remote-tracking branch 'tor-gitlab/mr/497' into main
Diffstat (limited to 'src')
-rw-r--r--src/feature/dircommon/consdiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/dircommon/consdiff.c b/src/feature/dircommon/consdiff.c
index c877227adc..323f2bd576 100644
--- a/src/feature/dircommon/consdiff.c
+++ b/src/feature/dircommon/consdiff.c
@@ -1128,7 +1128,7 @@ consdiff_get_digests(const smartlist_t *diff,
{
const cdline_t *line2 = smartlist_get(diff, 1);
char *h = tor_memdup_nulterm(line2->s, line2->len);
- smartlist_split_string(hash_words, h, " ", 0, 0);
+ smartlist_split_string(hash_words, h, " ", 0, 4);
tor_free(h);
}