X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=nntp%2Fnntp.c;h=c2f800210fd000f1e21ce08e29b71c467be52326;hp=520ed7fa6158cb814fde937d3184360ab43c2bbf;hb=56ac9bea51f338d488828ad1114d58b4a9542209;hpb=51239e43fd4a3c2440b4574379e8525d75646b3e diff --git a/nntp/nntp.c b/nntp/nntp.c index 520ed7f..c2f8002 100644 --- 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); - hash_delete (serv->newsgroups, nntp_data->group, NULL, + hash_remove (serv->newsgroups, nntp_data->group, NULL, 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); - hash_delete (serv->newsgroups, data->group, NULL, nntp_delete_data); + hash_remove (serv->newsgroups, data->group, NULL, nntp_delete_data); tmp->data = NULL; } }