X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Flookups%2Fmysql.c;h=96f7c1fa15df99ac7a2c4b6fae35b1b80f958c06;hb=8f0d0a3138e138ffa6bcc94c8378f5eb22573f0e;hp=220aba1c39f2317b456204320441818e4f792f46;hpb=0b4dfe7aa1f12214abdfa1037497d6c49a471612;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/lookups/mysql.c b/src/src/lookups/mysql.c index 220aba1c3..96f7c1fa1 100644 --- a/src/src/lookups/mysql.c +++ b/src/src/lookups/mysql.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. */ /* Thanks to Paul Kelly for contributing the original code for these @@ -480,15 +481,15 @@ fprintf(f, " Exim version %s\n", EXIM_VERSION_STR); /* These are the lookup_info blocks for this driver */ static lookup_info mysql_lookup_info = { - US"mysql", /* lookup name */ - lookup_querystyle, /* query-style lookup */ - mysql_open, /* open function */ - NULL, /* no check function */ - mysql_find, /* find function */ - NULL, /* no close function */ - mysql_tidy, /* tidy function */ - mysql_quote, /* quoting function */ - mysql_version_report /* version reporting */ + .name = US"mysql", /* lookup name */ + .type = lookup_querystyle, /* query-style lookup */ + .open = mysql_open, /* open function */ + .check = NULL, /* no check function */ + .find = mysql_find, /* find function */ + .close = NULL, /* no close function */ + .tidy = mysql_tidy, /* tidy function */ + .quote = mysql_quote, /* quoting function */ + .version_report = mysql_version_report /* version reporting */ }; #ifdef DYNLOOKUP