From bad061a35a2b620cae01054bcfd8b4e5a598e74b Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 27 Aug 2009 15:22:48 +0000 Subject: [PATCH] Empty callback. git-svn-id: file:///svn/unbound/trunk@1791 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 3 +++ validator/autotrust.c | 9 ++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 1f6485fa4..1e6baa26f 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +27 August 2009: Wouter + - autotrust: mesh answer callback is empty. + 26 August 2009: Wouter - autotrust probing. - iana portlist updated. diff --git a/validator/autotrust.c b/validator/autotrust.c index 4086fb24e..cb14c0920 100644 --- a/validator/autotrust.c +++ b/validator/autotrust.c @@ -1684,10 +1684,13 @@ autr_debug_print(struct val_anchors* anchors) lock_basic_unlock(&anchors->lock); } -void probe_answer_cb(void* arg, int rcode, ldns_buffer* buf, - enum sec_status sec) +void probe_answer_cb(void* ATTR_UNUSED(arg), int ATTR_UNUSED(rcode), + ldns_buffer* ATTR_UNUSED(buf), enum sec_status ATTR_UNUSED(sec)) { - struct module_env* env = (struct module_env*)arg; + /* retry was set before the query was done, + * re-querytime is set when query succeeded. + * So, nothing to do now. */ + /*struct module_env* env = (struct module_env*)arg;*/ verbose(VERB_ALGO, "autotrust probe answer cb"); } -- 2.47.3