summaryrefslogtreecommitdiff
path: root/src/caches/dcache_load.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-08-04 11:24:03 +0000
committerLaurent Bercot <ska@appnovation.com>2021-08-04 11:24:03 +0000
commit29f70f35a48241eef0a690a00d5211f487972cba (patch)
tree7153e8f6623aed91a7d98a4961730bd161ac8a1a /src/caches/dcache_load.c
parentffed76f91e3623f40d1ebffffc0bc728722c84f5 (diff)
downloads6-dns-29f70f35a48241eef0a690a00d5211f487972cba.tar.xz
Adapt to skalibs-2.11
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/caches/dcache_load.c')
-rw-r--r--src/caches/dcache_load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caches/dcache_load.c b/src/caches/dcache_load.c
index 8f9383f..71d38e0 100644
--- a/src/caches/dcache_load.c
+++ b/src/caches/dcache_load.c
@@ -15,8 +15,8 @@
static inline int dcache_load_node (dcache_t *z, uint64_t max, buffer *b)
{
- tain_t entry = { .nano = 0 } ;
- tain_t expire = { .nano = 0 } ;
+ tain entry = { .nano = 0 } ;
+ tain expire = { .nano = 0 } ;
uint16_t keylen ;
uint16_t datalen ;
char pack[TAI_PACK * 2 + 4] ;