]> granicus.if.org Git - neomutt/commitdiff
replace 'CHILD_CTX' with 'struct ChildCtx'
authorRichard Russon <rich@flatcap.org>
Tue, 16 May 2017 13:18:22 +0000 (14:18 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 16 May 2017 14:21:29 +0000 (15:21 +0100)
nntp.c

diff --git a/nntp.c b/nntp.c
index 327caa663f38527e110873f64dc5d20fa2d34c94..0651874d06d44582923e31c34e95029d2c0c614b 100644 (file)
--- 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;