*************************************************/
/* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) The Exim Maintainers 2020 - 2021 */
/* See the file NOTICE for conditions of use and distribution. */
empty declarations ("undefined" in the Standard) we put in a dummy value. */
optionlist ipliteral_router_options[] = {
- { "", opt_hidden, NULL }
+ { "", opt_hidden, {NULL} }
};
/* Size of the options list. An extern variable has to be used so that its
ipliteral_router_options_block *ob =
(ipliteral_router_options_block *)(rblock->options_block);
*/
-rblock = rblock;
}
int len = Ustrlen(domain);
int rc, ipv;
-addr_new = addr_new; /* Keep picky compilers happy */
-addr_succeed = addr_succeed;
-
DEBUG(D_route) debug_printf("%s router called for %s: domain = %s\n",
rblock->name, addr->address, addr->domain);
/* Set up a host item */
-h = store_get(sizeof(host_item));
+h = store_get(sizeof(host_item), GET_UNTAINTED);
h->next = NULL;
h->address = string_copy(ip);