about summary refs log tree commit diff
path: root/src/cache/clientaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache/clientaccess.c')
-rw-r--r--src/cache/clientaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache/clientaccess.c b/src/cache/clientaccess.c
index 0dc5270..7a87fa3 100644
--- a/src/cache/clientaccess.c
+++ b/src/cache/clientaccess.c
@@ -11,7 +11,7 @@
 static inline int check (char const *key, size_t keylen)
 {
   cdb_data data ;
-  return cdb_find(&confdb, &data, key, keylen) ;
+  return cdb_find(&g->confdb, &data, key, keylen) ;
 }
 
 int clientaccess_ip4 (char const *ip)