* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 2015 */
+/* Copyright (c) University of Cambridge 1995 - 2018 */
+/* Copyright (c) The Exim Maintainers 2020 */
/* 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
int ipliteral_router_entry(router_instance *rblock, address_item *addr,
struct passwd *pw, int verify, address_item **addr_local,
address_item **addr_remote, address_item **addr_new,
- address_item **addr_succeed) {}
+ address_item **addr_succeed) {return 0;}
#else /*!MACRO_PREDEF*/
/* Set up a host item */
-h = store_get(sizeof(host_item));
+h = store_get(sizeof(host_item), FALSE);
h->next = NULL;
h->address = string_copy(ip);
rc = rf_get_errors_address(addr, rblock, verify, &addr->prop.errors_address);
if (rc != OK) return rc;
-/* Set up the additional and removeable headers for this address. */
+/* Set up the additional and removable headers for this address. */
rc = rf_get_munge_headers(addr, rblock, &addr->prop.extra_headers,
&addr->prop.remove_headers);