From: Ian Jackson Date: Mon, 13 Oct 2014 12:54:35 +0000 (+0100) Subject: src/types.c: Clarify comment for addr_submit (style) X-Git-Tag: adns-1.5.0-rc0~29 X-Git-Url: https://git.distorted.org.uk/~mdw/adns/commitdiff_plain/5cba798741f4e59b3c3bc70960edc38dbc5e1737 src/types.c: Clarify comment for addr_submit (style) We don't just fiddle with tinfo; this function actually sets it. Signed-off-by: Ian Jackson --- diff --git a/src/types.c b/src/types.c index ab97801..c78ca06 100644 --- a/src/types.c +++ b/src/types.c @@ -579,11 +579,11 @@ static adns_status addr_submit(adns_query parent, adns_query *query_r, * available record types. The memory management and callback rules are * the same as for adns__internal_submit. * - * Some differences: the query is linked onto the parent's children list - * before exit (though the parent's state is not changed, and it is not - * linked into the childw list queue); and we fiddle with the `tinfo' - * portion of the context structure (yes, modifying *ctx), since this is, - * in fact, the main purpose of this function. + * Some differences: the query is linked onto the parent's children + * list before exit (though the parent's state is not changed, and + * it is not linked into the childw list queue); and we set the + * `tinfo' portion of the context structure (yes, modifying *ctx), + * since this is, in fact, the main purpose of this function. */ adns_state ads= parent->ads;