From 5cba798741f4e59b3c3bc70960edc38dbc5e1737 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 13 Oct 2014 13:54:35 +0100 Subject: [PATCH] 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 --- src/types.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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; -- 2.30.2