From: Richard Russon Date: Tue, 16 May 2017 13:18:22 +0000 (+0100) Subject: replace 'CHILD_CTX' with 'struct ChildCtx' X-Git-Tag: neomutt-20170526~21^2~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe113632fb21dee4088992777ccd1a81e8c65b06;p=neomutt replace 'CHILD_CTX' with 'struct ChildCtx' --- diff --git a/nntp.c b/nntp.c index 327caa663..0651874d0 100644 --- a/nntp.c +++ b/nntp.c @@ -2306,18 +2306,18 @@ int nntp_check_msgid(struct Context *ctx, const char *msgid) return 0; } -typedef struct +struct ChildCtx { struct Context *ctx; unsigned int num; unsigned int max; anum_t *child; -} CHILD_CTX; +}; /* Parse XPAT line */ static int fetch_children(char *line, void *data) { - CHILD_CTX *cc = data; + struct ChildCtx *cc = data; anum_t anum; unsigned int i; @@ -2339,7 +2339,7 @@ static int fetch_children(char *line, void *data) int nntp_check_children(struct Context *ctx, const char *msgid) { NNTP_DATA *nntp_data = ctx->data; - CHILD_CTX cc; + struct ChildCtx cc; char buf[STRING]; int i, rc; bool quiet;