X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Flookups%2Fibase.c;h=72a27c0109388c5e5a0b34391730ca18a58309f2;hb=8f0d0a3138e138ffa6bcc94c8378f5eb22573f0e;hp=16d21b56bbde18dbe2c1c467962931b486e57c83;hpb=9f4001740f061f29c65835c6f7efcab50c27db13;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/lookups/ibase.c b/src/src/lookups/ibase.c index 16d21b56b..72a27c010 100644 --- 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) The Exim Maintainers 2020 */ /* 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; -uschar buffer[512]; - -/* Keep picky compilers happy */ -do_cache = do_cache; 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);