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
Debug: feed startup "whats supported" info through normal debug channel
[exim.git]
/
src
/
src
/
lookups
/
ibase.c
diff --git
a/src/src/lookups/ibase.c
b/src/src/lookups/ibase.c
index 16d21b56bbde18dbe2c1c467962931b486e57c83..e1692992b85087b93f25788244cacb37ea2081f2 100644
(file)
--- a/
src/src/lookups/ibase.c
+++ b/
src/src/lookups/ibase.c
@@
-3,6
+3,7
@@
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) The Exim Maintainers 2020 - 2021 */
/* See the file NOTICE for conditions of use and distribution. */
/* The code in this module was contributed by Ard Biesheuvel. */
/* See the file NOTICE for conditions of use and distribution. */
/* The code in this module was contributed by Ard Biesheuvel. */
@@
-456,14
+457,10
@@
ibase_find(void * handle, const uschar * filename, uschar * query, int length,
int sep = 0;
uschar *server;
uschar *list = ibase_servers;
int sep = 0;
uschar *server;
uschar *list = ibase_servers;
-uschar buffer[512];
-
-/* Keep picky compilers happy */
-do_cache = do_cache;
DEBUG(D_lookup) debug_printf_indent("Interbase query: %s\n", query);
DEBUG(D_lookup) debug_printf_indent("Interbase query: %s\n", query);
-while ((server = string_nextinlist(&list, &sep,
buffer, sizeof(buffer)
)))
+while ((server = string_nextinlist(&list, &sep,
NULL, 0
)))
{
BOOL defer_break = FALSE;
int rc = perform_ibase_search(query, server, result, errmsg, &defer_break);
{
BOOL defer_break = FALSE;
int rc = perform_ibase_search(query, server, result, errmsg, &defer_break);
@@
-551,12
+548,13
@@
static uschar *ibase_quote(uschar * s, uschar * opt)
#include "../version.h"
#include "../version.h"
-void
-ibase_version_report(
FILE *f
)
+gstring *
+ibase_version_report(
gstring * g
)
{
#ifdef DYNLOOKUP
{
#ifdef DYNLOOKUP
-
fprintf(f, "Library version: ibase: Exim version %s\n", EXIM_VERSION_STR
);
+
g = string_fmt_append(g, "Library version: ibase: Exim version %s\n", EXIM_VERSION_STR)
);
#endif
#endif
+return g;
}
}