]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/lookups/lmdb.c
Hints DB interface: convert from macros to inlinable functions.
[user/henk/code/exim.git] / src / src / lookups / lmdb.c
index a885badf11fcd6972309f0fdc1b29cb933f1afa2..042229a550a0a201d139b326a7ce7f0d3c5f4893 100644 (file)
@@ -31,7 +31,7 @@ Lmdbstrct * lmdb_p;
 int ret, save_errno;
 const uschar * errstr;
 
-lmdb_p = store_get(sizeof(Lmdbstrct), FALSE);
+lmdb_p = store_get(sizeof(Lmdbstrct), GET_UNTAINTED);
 lmdb_p->txn = NULL;
 
 if ((ret = mdb_env_create(&db_env)))
@@ -130,10 +130,9 @@ mdb_env_close(db_env);
 #include "../version.h"
 
 gstring *
-lmdb_version_report(BOOL is_stdout)
+lmdb_version_report(gstring * g)
 {
-gstring * g = string_fmt_append(g,
-                        "Library version: LMDB: Compile: %d.%d.%d\n",
+g = string_fmt_append(g, "Library version: LMDB: Compile: %d.%d.%d\n",
                          MDB_VERSION_MAJOR, MDB_VERSION_MINOR, MDB_VERSION_PATCH);
 #ifdef DYNLOOKUP
 g = string_fmt_append(g, "                        Exim version %s\n", EXIM_VERSION_STR);