chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Regression test scripts set EF_DISABLE_BANNER (for Electric Fence).
[adns]
/
client
/
adnstest.c
diff --git
a/client/adnstest.c
b/client/adnstest.c
index 91b175bd1c5d7c57724fbe4f81481271fe337551..4abd4ffae8a53cd80f9c8dbe7b2d43722d461781 100644
(file)
--- a/
client/adnstest.c
+++ b/
client/adnstest.c
@@
-3,7
+3,12
@@
* - simple test program, not part of the library
*/
/*
* - simple test program, not part of the library
*/
/*
- * This file is part of adns, which is Copyright (C) 1997-1999 Ian Jackson
+ * This file is
+ * Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
+ *
+ * It is part of adns, which is
+ * Copyright (C) 1997-1999 Ian Jackson <ian@davenant.greenend.org.uk>
+ * Copyright (C) 1999 Tony Finch <dot@dotat.at>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-143,8
+148,7
@@
int main(int argc, char *const *argv) {
const char *initstring, *rrtn, *fmtn;
const char *const *fdomlist, *domain;
char *show, *cp;
const char *initstring, *rrtn, *fmtn;
const char *const *fdomlist, *domain;
char *show, *cp;
- int len, i, qc, qi, tc, ti, ch, qflags, initflagsnum, npollfds, npollfdsavail, timeout;
- struct pollfd *pollfds;
+ int len, i, qc, qi, tc, ti, ch, qflags, initflagsnum;
adns_status ri;
int r;
const adns_rrtype *types;
adns_status ri;
int r;
const adns_rrtype *types;
@@
-216,9
+220,6
@@
int main(int argc, char *const *argv) {
}
if (r) failure_errno("init",r);
}
if (r) failure_errno("init",r);
- npollfdsavail= 0;
- pollfds= 0;
-
for (qi=0; qi<qc; qi++) {
fdom_split(fdomlist[qi],&domain,&qflags,ownflags,sizeof(ownflags));
if (!consistsof(ownflags,"a")) usageerr("unknown ownqueryflag");
for (qi=0; qi<qc; qi++) {
fdom_split(fdomlist[qi],&domain,&qflags,ownflags,sizeof(ownflags));
if (!consistsof(ownflags,"a")) usageerr("unknown ownqueryflag");