X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8fac7a0b7c8bf8f8f3cde24aeb95ff03756d2633..1ddb1855402d48ad735e46abaf0d662e45600ecd:/src/src/lookups/sqlite.c diff --git a/src/src/lookups/sqlite.c b/src/src/lookups/sqlite.c index d8a11ba12..65e7cffc9 100644 --- a/src/src/lookups/sqlite.c +++ b/src/src/lookups/sqlite.c @@ -165,15 +165,18 @@ return quoted; #include "../version.h" -void -sqlite_version_report(FILE *f) +gstring * +sqlite_version_report(gstring * g) { -fprintf(f, "Library version: SQLite: Compile: %s\n" - " Runtime: %s\n", +g = string_fmt_append(g, + "Library version: SQLite: Compile: %s\n" + " Runtime: %s\n", SQLITE_VERSION, sqlite3_libversion()); #ifdef DYNLOOKUP -fprintf(f, " Exim version %s\n", EXIM_VERSION_STR); +g = string_fmt_append(g, + " Exim version %s\n", EXIM_VERSION_STR); #endif +return g; } static lookup_info _lookup_info = {