X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnewsrc.c;h=898b1481de9618a2ce4a4ad381ae112d44479cf1;hp=93f2f30c4f41ca31726158f524cec89ffa476529;hb=ef7b80006ebb47372d69c64e8b2b2f0764333d55;hpb=b17296ba049d71986028ac83f0b415a021d0691c diff --git a/nntp/newsrc.c b/nntp/newsrc.c index 93f2f30..898b148 100644 --- a/nntp/newsrc.c +++ b/nntp/newsrc.c @@ -87,7 +87,7 @@ static int nntp_parse_newsrc_line (NNTP_SERVER * news, char *line) nntp_add_to_list (news, data); } else - mem_free ((void **) &data->entries); + mem_free (&data->entries); data->rc = 1; data->entries = mem_calloc (x * 2, sizeof (NEWSRC_ENTRY)); @@ -944,7 +944,7 @@ int nntp_save_cache_group (CONTEXT * ctx) fputs (buf, f); if (h->env->references) mutt_write_references (h->env->references, f); - snprintf (buf, sizeof (buf), "\t" OFF_T_FMT "\t%d\tXref: %s\n", + snprintf (buf, sizeof (buf), "\t%zd\t%d\tXref: %s\n", h->content->length, h->lines, NONULL (h->env->xref)); if (fputs (buf, f) == EOF) { fclose (f);