From 6837c5ac80e3624c6dc3a82d03e50d68b2f5a989 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 26 Oct 2026 17:13:36 +0100 Subject: Second run of making variable and function names more readable, urlencoder now matches overall naming scheme --- ot_accesslist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot_accesslist.c') 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, size_t count = 0; while (count < capacity && end - offs >= 40) { - if (hex_tohash(dest[count], offs)) { + if (hex_to_hash(dest[count], offs)) { offs += 40; if (offs == end || !hex_isdigit((unsigned char)*offs)) @@ -308,7 +308,7 @@ static void *accesslist_adddel_worker(const char *fifoname, ot_accesslist *_ if (linelen < 41) continue; - if (!hex_tohash(info_hash, line)) + if (!hex_to_hash(info_hash, line)) continue; /* From now on we modify g_accesslist_add and g_accesslist_delete, so prevent the -- cgit v1.3