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
/
testdb.c
diff --git
a/src/src/lookups/testdb.c
b/src/src/lookups/testdb.c
index 3ecd104018ab680b81d7fa3fb05865908304106d..f94150b6824cd7c1939d6c07c6333fcee965b563 100644
(file)
--- a/
src/src/lookups/testdb.c
+++ b/
src/src/lookups/testdb.c
@@
-2,9
+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 */
/* Copyright (c) University of Cambridge 1995 - 2015 */
-/* Copyright (c) The Exim Maintainers 2020 */
/* See the file NOTICE for conditions of use and distribution. */
/* 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"
@@
-68,12
+69,13
@@
return OK;
#include "../version.h"
#include "../version.h"
-void
-testdb_version_report(
FILE *f
)
+gstring *
+testdb_version_report(
gstring * g
)
{
#ifdef DYNLOOKUP
{
#ifdef DYNLOOKUP
-
fprintf(f
, "Library version: TestDB: Exim version %s\n", EXIM_VERSION_STR);
+
g = string_fmt_append(g
, "Library version: TestDB: Exim version %s\n", EXIM_VERSION_STR);
#endif
#endif
+return g;
}
}