projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more hash code simplifications.
[apps/madmutt.git]
/
nntp
/
nntp.c
diff --git
a/nntp/nntp.c
b/nntp/nntp.c
index
520ed7f
..
c2f8002
100644
(file)
--- a/
nntp/nntp.c
+++ b/
nntp/nntp.c
@@
-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;
@@
-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;
}
}