X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=nntp%2Fnntp.c;h=4f3c812a86ce239ce1341b061e43b15236035f14;hb=e6c3d6c782080832a49192a8bd88599ef230678e;hp=14325239929e3110678477e708cb9ca4e30014a9;hpb=2c56b665394c80195b976537e608b690947fcb14;p=apps%2Fmadmutt.git diff --git a/nntp/nntp.c b/nntp/nntp.c index 1432523..4f3c812 100644 --- a/nntp/nntp.c +++ b/nntp/nntp.c @@ -9,35 +9,21 @@ * please see the file GPL in the top level source directory. */ -#ifdef HAVE_CONFIG_H -#include -#endif - -#include -#include -#include -#include +#include #include - #include +#include #include "mutt.h" #include "sort.h" #include "mx.h" #include "mx_nntp.h" #include "nntp.h" -#include "sidebar.h" #include "buffy.h" #include - -#include -#include -#include -#include - #define WANT_LISTGROUP_COMMAND 0 static unsigned int _checked = 0; @@ -540,7 +526,7 @@ static int nntp_parse_xover (CONTEXT * ctx, char *buf, HEADER * hdr) hdr->env = envelope_new(); hdr->env->newsgroups = m_strdup(nntp_data->group); - hdr->content = mutt_new_body (); + hdr->content = body_new(); hdr->content->type = TYPETEXT; hdr->content->subtype = m_strdup("plain"); hdr->content->encoding = ENC7BIT;