diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-26 17:13:36 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-26 17:13:36 +0100 |
| commit | 6837c5ac80e3624c6dc3a82d03e50d68b2f5a989 (patch) | |
| tree | f829fa152980cefec412483b240813432c9406d7 /ot_accesslist.c | |
| parent | 6871825565d0ba24436dbd5b92cc09e02f93af6a (diff) | |
Second run of making variable and function names more readable, urlencoder now matches overall naming scheme
Diffstat (limited to 'ot_accesslist.c')
| -rw-r--r-- | ot_accesslist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ot_accesslist.c b/ot_accesslist.c index ef845d6..79a11a5 100644 --- a/ot_accesslist.c +++ b/ot_accesslist.c | |||
| @@ -110,7 +110,7 @@ size_t accesslist_parse_hashes(ot_hash *dest, size_t capacity, const char *buf, | |||
| 110 | size_t count = 0; | 110 | size_t count = 0; |
| 111 | 111 | ||
| 112 | while (count < capacity && end - offs >= 40) { | 112 | while (count < capacity && end - offs >= 40) { |
| 113 | if (hex_tohash(dest[count], offs)) { | 113 | if (hex_to_hash(dest[count], offs)) { |
| 114 | offs += 40; | 114 | offs += 40; |
| 115 | 115 | ||
| 116 | if (offs == end || !hex_isdigit((unsigned char)*offs)) | 116 | if (offs == end || !hex_isdigit((unsigned char)*offs)) |
| @@ -308,7 +308,7 @@ static void *accesslist_adddel_worker(const char *fifoname, ot_accesslist *_ | |||
| 308 | if (linelen < 41) | 308 | if (linelen < 41) |
| 309 | continue; | 309 | continue; |
| 310 | 310 | ||
| 311 | if (!hex_tohash(info_hash, line)) | 311 | if (!hex_to_hash(info_hash, line)) |
| 312 | continue; | 312 | continue; |
| 313 | 313 | ||
| 314 | /* From now on we modify g_accesslist_add and g_accesslist_delete, so prevent the | 314 | /* From now on we modify g_accesslist_add and g_accesslist_delete, so prevent the |
