Hintsdb: fix build with USE_TDB
authorJeremy Harris <jgh146exb@wizmail.org>
Sat, 8 Jun 2024 12:17:19 +0000 (13:17 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Sat, 8 Jun 2024 12:17:19 +0000 (13:17 +0100)
Broken-by: 799253d6a75d
src/src/hintsdb.h

index 3898b0221aa2175c44a4cc403f0b67cadc1ee327..643395e136e8b8aec1e2f99fbb729edc5fe3957f 100644 (file)
@@ -427,7 +427,7 @@ exim_datum_data_set(EXIM_DATUM * dp, void * s)
 
 static inline unsigned
 exim_datum_size_get(EXIM_DATUM * dp)
-{ return dp->len; }
+{ return dp->dsize; }
 static inline void
 exim_datum_size_set(EXIM_DATUM * dp, unsigned n)
 { dp->dsize = n; }