projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small oopsies in the cpgk2c generator.
[apps/madmutt.git]
/
nntp
/
nntp.c
diff --git
a/nntp/nntp.c
b/nntp/nntp.c
index
520ed7f
..
b7d83ea
100644
(file)
--- a/
nntp/nntp.c
+++ b/
nntp/nntp.c
@@
-437,7
+437,7
@@
static int nntp_read_header (CONTEXT * ctx, const char *msgid,
int ret;
HEADER *h = ctx->hdrs[ctx->msgcount];
int ret;
HEADER *h = ctx->hdrs[ctx->msgcount];
- f = m_tempfile(tempfile, sizeof(tempfile), NONULL(
Te
mpdir), NULL);
+ f = m_tempfile(tempfile, sizeof(tempfile), NONULL(
MCore.t
mpdir), NULL);
if (!f)
return -1;
if (!f)
return -1;
@@
-860,7
+860,7
@@
static int nntp_open_mailbox (CONTEXT * ctx)
/* CACHE: delete cache and line from .index */
nntp_delete_cache (nntp_data);
/* CACHE: delete cache and line from .index */
nntp_delete_cache (nntp_data);
- hash_
delet
e (serv->newsgroups, nntp_data->group, NULL,
+ hash_
remov
e (serv->newsgroups, nntp_data->group, NULL,
nntp_delete_data);
while (l && l->data != (void *) nntp_data)
l = l->next;
nntp_delete_data);
while (l && l->data != (void *) nntp_data)
l = l->next;
@@
-915,7
+915,7
@@
int nntp_fetch_message (MESSAGE * msg, CONTEXT * ctx, int msgno)
p_delete(&cache->path);
cache->index = ctx->hdrs[msgno]->index;
p_delete(&cache->path);
cache->index = ctx->hdrs[msgno]->index;
- msg->fp = m_tempfile(path, sizeof(path), NONULL(
Te
mpdir), NULL);
+ msg->fp = m_tempfile(path, sizeof(path), NONULL(
MCore.t
mpdir), NULL);
if (!msg->fp) {
return -1;
}
if (!msg->fp) {
return -1;
}
@@
-1385,7
+1385,7
@@
int nntp_get_active (NNTP_SERVER * serv)
if (data && data->deleted && !data->rc) {
nntp_delete_cache (data);
if (data && data->deleted && !data->rc) {
nntp_delete_cache (data);
- hash_
delet
e (serv->newsgroups, data->group, NULL, nntp_delete_data);
+ hash_
remov
e (serv->newsgroups, data->group, NULL, nntp_delete_data);
tmp->data = NULL;
}
}
tmp->data = NULL;
}
}