X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1e1ddfac79fbcd052f199500a6493c7f79cb8462..a85c067ba6c6940512cf57ec213277a370d87e70:/src/src/lookups/nis.c diff --git a/src/src/lookups/nis.c b/src/src/lookups/nis.c index 3747f83d4..e7c124757 100644 --- a/src/src/lookups/nis.c +++ b/src/src/lookups/nis.c @@ -2,9 +2,10 @@ * Exim - an Internet mail transport agent * *************************************************/ +/* Copyright (c) The Exim Maintainers 2020 - 2022 */ /* Copyright (c) University of Cambridge 1995 - 2015 */ -/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ +/* SPDX-License-Identifier: GPL-2.0-only */ #include "../exim.h" #include "lf_functions.h" @@ -97,12 +98,13 @@ return (rc == YPERR_KEY || rc == YPERR_MAP)? FAIL : DEFER; #include "../version.h" -void -nis_version_report(FILE *f) +gstring * +nis_version_report(gstring * g) { #ifdef DYNLOOKUP -fprintf(f, "Library version: NIS: Exim version %s\n", EXIM_VERSION_STR); +g = string_fmt_append(g, "Library version: NIS: Exim version %s\n", EXIM_VERSION_STR); #endif +return g; }