chiark
/
gitweb
/
~mdw
/
adns
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
@@ -4,9 +4,12 @@
[adns]
/
client
/
adnstest.c
diff --git
a/client/adnstest.c
b/client/adnstest.c
index d8c81d21215e5abff10ed3fbd268ef56e3bb6e48..e99f5a1ac4967f42982787dca5b041f5f8b02501 100644
(file)
--- a/
client/adnstest.c
+++ b/
client/adnstest.c
@@
-4,11
+4,11
@@
*/
/*
* This file is
*/
/*
* This file is
- * Copyright (C) 1997-
1999
Ian Jackson <ian@davenant.greenend.org.uk>
+ * Copyright (C) 1997-
2000
Ian Jackson <ian@davenant.greenend.org.uk>
*
* It is part of adns, which is
* Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
*
* It is part of adns, which is
* Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
- * Copyright (C) 1999 Tony Finch <dot@dotat.at>
+ * Copyright (C) 1999
-2000
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
@@
-33,12
+33,11
@@
#include <string.h>
#include <errno.h>
#include <string.h>
#include <errno.h>
-#include "adns.h"
-
#include "config.h"
#include "config.h"
+#include "adns.h"
-#if
ndef OUTPUTSTREAM
-#
define OUTPUTSTREAM stdout
+#if
def ADNS_REGRESS_TEST
+#
include "hredirect.h"
#endif
struct myctx {
#endif
struct myctx {
@@
-220,6
+219,8
@@
int main(int argc, char *const *argv) {
mcs= malloc(tc ? sizeof(*mcs)*qc*tc : 1);
if (!mcs) { perror("malloc mcs"); quitnow(3); }
mcs= malloc(tc ? sizeof(*mcs)*qc*tc : 1);
if (!mcs) { perror("malloc mcs"); quitnow(3); }
+ setvbuf(stdout,0,_IOLBF,0);
+
if (initstring) {
r= adns_init_strcfg(&ads,
(adns_if_debug|adns_if_noautosys|adns_if_checkc_freq)
if (initstring) {
r= adns_init_strcfg(&ads,
(adns_if_debug|adns_if_noautosys|adns_if_checkc_freq)