summaryrefslogtreecommitdiff
path: root/ot_accesslist.c
diff options
context:
space:
mode:
Diffstat (limited to 'ot_accesslist.c')
-rw-r--r--ot_accesslist.c4
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