projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
missing includes, intializers, consts
[apps/madmutt.git]
/
nntp
/
newsrc.c
diff --git
a/nntp/newsrc.c
b/nntp/newsrc.c
index
93f2f30
..
898b148
100644
(file)
--- 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
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));
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);
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);
h->content->length, h->lines, NONULL (h->env->xref));
if (fputs (buf, f) == EOF) {
fclose (f);