summaryrefslogtreecommitdiff
path: root/ot_sync.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-26 18:13:27 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-26 18:13:27 +0100
commit78c3cebc389a2b0d426d74900a65b8656edb426d (patch)
tree122003fecc6b53c2dde6393896a852e3689900ff /ot_sync.c
parent6837c5ac80e3624c6dc3a82d03e50d68b2f5a989 (diff)
Third run of making variable and function names more readable, integer scans and ip parsers
Diffstat (limited to 'ot_sync.c')
-rw-r--r--ot_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_sync.c b/ot_sync.c
index 5527c94..1a6bebc 100644
--- a/ot_sync.c
+++ b/ot_sync.c
@@ -51,7 +51,7 @@ int add_changeset_to_tracker(uint8_t *data, size_t len) {
51 data += sizeof(ot_hash); 51 data += sizeof(ot_hash);
52 52
53 /* Scan string length indicator, strictly: bencode writes no leading zeros */ 53 /* Scan string length indicator, strictly: bencode writes no leading zeros */
54 data += (len = scan_udec_bencode((char *)data, &peer_count, (uint64_t)(end - data))); 54 data += (len = scan_uint_bencode((char *)data, &peer_count, (uint64_t)(end - data)));
55 55
56 /* If no long was scanned, it is not divisible by 8, it is not 56 /* If no long was scanned, it is not divisible by 8, it is not
57 followed by a colon or claims to need to much memory, we fail */ 57 followed by a colon or claims to need to much memory, we fail */