~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@@ wip type definitions in manpage synopses
[mLib]
/
sel
/
bres-adns.c
diff --git
a/sel/bres-adns.c
b/sel/bres-adns.c
index
03fafa4
..
491a9a8
100644
(file)
--- 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 (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)
n[j++] = 0;
for (i = j = 0; i < an && j < N(aa) - 1; i++) {
if (av[i].addr.sa.sa_family == AF_INET)