diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-26 18:13:27 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-26 18:13:27 +0100 |
| commit | 78c3cebc389a2b0d426d74900a65b8656edb426d (patch) | |
| tree | 122003fecc6b53c2dde6393896a852e3689900ff /ot_sync.c | |
| parent | 6837c5ac80e3624c6dc3a82d03e50d68b2f5a989 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 */ |
