X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9f4001740f061f29c65835c6f7efcab50c27db13..a85c067ba6c6940512cf57ec213277a370d87e70:/src/src/lookups/spf.c diff --git a/src/src/lookups/spf.c b/src/src/lookups/spf.c index 179b3a648..a1052d7fc 100644 --- a/src/src/lookups/spf.c +++ b/src/src/lookups/spf.c @@ -5,14 +5,14 @@ /* Exim - SPF lookup module using libspf2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Copyright (c) The Exim Maintainers 2020 - 2022 Copyright (c) 2005 Chris Webb, Arachsys Internet Services Ltd +SPDX-License-Identifier: GPL-2.0-or-later This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - -Copyright (c) The Exim Maintainers 2020 */ #include "../exim.h" @@ -128,12 +128,13 @@ return OK; #include "../version.h" -void -spf_version_report(FILE *f) +gstring * +spf_version_report(gstring * g) { #ifdef DYNLOOKUP -fprintf(f, "Library version: SPF: Exim version %s\n", EXIM_VERSION_STR); +g = string_fmt_append(g, "Library version: SPF: Exim version %s\n", EXIM_VERSION_STR)); #endif +return g; }