[exim-cvs] Hintsdb: fix build with USE_TDB

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Exim Git Commits Mailing List
Ημερομηνία:  
Προς: exim-cvs
Αντικείμενο: [exim-cvs] Hintsdb: fix build with USE_TDB
Gitweb: https://git.exim.org/exim.git/commitdiff/8769407d774157072e36d23bc6cc831cadacb6bb
Commit:     8769407d774157072e36d23bc6cc831cadacb6bb
Parent:     04c21a8fe3b5027b7430cc9c706196733426bfa6
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sat Jun 8 13:17:19 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sat Jun 8 13:17:19 2024 +0100


    Hintsdb: fix build with USE_TDB


    Broken-by: 799253d6a75d
---
 src/src/hintsdb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/src/src/hintsdb.h b/src/src/hintsdb.h
index 3898b0221..643395e13 100644
--- a/src/src/hintsdb.h
+++ b/src/src/hintsdb.h
@@ -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; }

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/