git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SPDX: license tags (mostly by guesswork)
[exim.git]
/
src
/
src
/
lookups
/
nis.c
diff --git
a/src/src/lookups/nis.c
b/src/src/lookups/nis.c
index 7b8e80fe37adc29a32231f191bead5504f4ccbe9..e7c12475751c1f3b87261c9091be211e06c4cb0a 100644
(file)
--- a/
src/src/lookups/nis.c
+++ b/
src/src/lookups/nis.c
@@
-2,8
+2,10
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
+/* Copyright (c) The Exim Maintainers 2020 - 2022 */
/* Copyright (c) University of Cambridge 1995 - 2015 */
/* See the file NOTICE for conditions of use and distribution. */
/* Copyright (c) University of Cambridge 1995 - 2015 */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-only */
#include "../exim.h"
#include "lf_functions.h"
#include "../exim.h"
#include "lf_functions.h"
@@
-96,12
+98,13
@@
return (rc == YPERR_KEY || rc == YPERR_MAP)? FAIL : DEFER;
#include "../version.h"
#include "../version.h"
-void
-nis_version_report(
FILE *f
)
+gstring *
+nis_version_report(
gstring * g
)
{
#ifdef DYNLOOKUP
{
#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
#endif
+return g;
}
}