X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/776d2da28318443431563b68c2807eb0c29c49fa..3618811496a6d131fd4bffa19e262c521d39e819:/sel/bres-adns.c diff --git a/sel/bres-adns.c b/sel/bres-adns.c index 03fafa4..491a9a8 100644 --- a/sel/bres-adns.c +++ b/sel/bres-adns.c @@ -215,7 +215,7 @@ static void report(bres_client *rc, adns_answer *a, if (a->cname) n[j++] = a->cname; else { n[j++] = *nv; nv++; nn--; } for (i = 0; i < nn && j < N(n) - 1; i++) - if (strcmp(n[0], nv[i]) != 0) n[j++] = nv[i]; + if (STRCMP(n[0], !=, nv[i])) n[j++] = nv[i]; n[j++] = 0; for (i = j = 0; i < an && j < N(aa) - 1; i++) { if (av[i].addr.sa.sa_family == AF_INET)