X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/8fac7a0b7c8bf8f8f3cde24aeb95ff03756d2633..1ddb1855402d48ad735e46abaf0d662e45600ecd:/src/src/lookups/redis.c diff --git a/src/src/lookups/redis.c b/src/src/lookups/redis.c index 9146cba76..0bc506093 100644 --- a/src/src/lookups/redis.c +++ b/src/src/lookups/redis.c @@ -435,14 +435,16 @@ return quoted; *************************************************/ #include "../version.h" -void -redis_version_report(FILE *f) +gstring * +redis_version_report(gstring * g) { -fprintf(f, "Library version: REDIS: Compile: %d [%d]\n", - HIREDIS_MAJOR, HIREDIS_MINOR); +g = string_fmt_append(g, + "Library version: REDIS: Compile: %d [%d]\n", HIREDIS_MAJOR, HIREDIS_MINOR); #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; }