X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fhost.c;h=7118221771f64d3c52b5b41052eeca8c3685109c;hb=966e829c812abf574896810d3313247348a6532c;hp=d4267429bcd449d3ccf0fb4750280ba7dbd2e502;hpb=a5c60e3c951f141cfd38ac1d05eea15743206c9a;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/host.c b/src/src/host.c index d4267429b..711822177 100644 --- a/src/src/host.c +++ b/src/src/host.c @@ -2859,7 +2859,7 @@ for (rr = dns_next_rr(&dnsa, &dnss, RESET_ANSWERS); block. Otherwise, add a new block in the correct place; if it has to be before the first block, copy the first block's data to a new second block. */ - if (last == NULL) + if (!last) { host->name = string_copy_dnsdomain(data); host->address = NULL;