LMDB: fix version-report
authorJeremy Harris <jgh146exb@wizmail.org>
Sun, 6 Feb 2022 16:26:00 +0000 (16:26 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Sun, 6 Feb 2022 18:58:19 +0000 (18:58 +0000)
Broken-by: 1ddb185540
src/src/lookups/lmdb.c

index a885badf11fcd6972309f0fdc1b29cb933f1afa2..5fe86fea24b3a7df2a24d30078f1dca15e2398c4 100644 (file)
@@ -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);