X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Frouters%2Fipliteral.c;h=1abdb043a32bb41b9e25c7dc0662e483c90d3821;hb=a06afb97d53eb100c7f1b5b00da746d071d52415;hp=5cd6da52afe586faff9d94c7fcfa84f43068f730;hpb=d5b80e59458182b2d557a929a18cb8c70cd56b68;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/routers/ipliteral.c b/src/src/routers/ipliteral.c index 5cd6da52a..1abdb043a 100644 --- a/src/src/routers/ipliteral.c +++ b/src/src/routers/ipliteral.c @@ -2,7 +2,7 @@ * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2015 */ +/* Copyright (c) University of Cambridge 1995 - 2018 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -15,7 +15,7 @@ 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 @@ -149,7 +149,7 @@ if (verify_check_this_host(CUSS&rblock->ignore_target_hosts, /* 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); @@ -179,7 +179,7 @@ addr->host_list = h; 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);