]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- For #759: fix doc string. 759/head
authorGeorge Thessalonikefs <george@nlnetlabs.nl>
Sun, 30 Jul 2023 09:43:06 +0000 (11:43 +0200)
committerGeorge Thessalonikefs <george@nlnetlabs.nl>
Sun, 30 Jul 2023 09:43:06 +0000 (11:43 +0200)
util/module.h

index dc6835364e167eb021af506ecf8fe9545d24028f..5b6fcc93cf1ee34cd28644282932adb2e841711c 100644 (file)
@@ -826,11 +826,11 @@ void errinf_dname(struct module_qstate* qstate, const char* str,
  *    This string is malloced and has to be freed by caller.
  */
 char* errinf_to_str_bogus(struct module_qstate* qstate);
+
 /**
- * Check the sldns_ede_code of the qstate.
+ * Check the sldns_ede_code of the qstate->errinf.
  * @param qstate: query state.
- * @return LDNS_EDE_DNSSEC_BOGUS by default, or the first explicitly set
- *   sldns_ede_code.
+ * @return the latest explicitly set sldns_ede_code or LDNS_EDE_NONE.
  */
 sldns_ede_code errinf_to_reason_bogus(struct module_qstate* qstate);