X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=browser.c;h=6e24df9dec928aa47acd168dc3b1fabadccbc996;hp=d945b89a2dad33271a7ecdc4c7493e3efc4287ef;hb=2e2bec623bc6756fb9d7621ea342845f6284f6a7;hpb=a30218f8b3d68023d354d75b7c4674ae0c528f28 diff --git a/browser.c b/browser.c index d945b89..6e24df9 100644 --- a/browser.c +++ b/browser.c @@ -428,7 +428,7 @@ static void add_folder (MUTTMENU * m, struct browser_state *state, (state->entry)[state->entrylen].imap = 0; #ifdef USE_NNTP if (option (OPTNEWS)) - (state->entry)[state->entrylen].nd = (nntp_data_t *) data; + (state->entry)[state->entrylen].nd = data; #endif (state->entrylen)++; } @@ -450,7 +450,7 @@ static int examine_directory (MUTTMENU * menu, struct browser_state *state, #ifdef USE_NNTP if (option (OPTNEWS)) { nntp_data_t *data; - NNTP_SERVER *news = CurrentNewsSrv; + nntp_server_t *news = CurrentNewsSrv; /* buffy_check (0); */ init_state (state, menu); @@ -542,7 +542,7 @@ static int examine_mailboxes (MUTTMENU * menu, struct browser_state *state) #ifdef USE_NNTP if (option (OPTNEWS)) { nntp_data_t *data; - NNTP_SERVER *news = CurrentNewsSrv; + nntp_server_t *news = CurrentNewsSrv; /* buffy_check (0); */ init_state (state, menu); @@ -1366,7 +1366,7 @@ void mutt_select_file (char *f, ssize_t flen, int flags, char ***files, char *s = buf; int j = menu->current; nntp_data_t *nd; - NNTP_SERVER *news = CurrentNewsSrv; + nntp_server_t *news = CurrentNewsSrv; if (i == OP_SUBSCRIBE_PATTERN || i == OP_UNSUBSCRIBE_PATTERN) { char tmp[STRING]; @@ -1428,7 +1428,6 @@ void mutt_select_file (char *f, ssize_t flen, int flags, char ***files, init_menu (&state, menu, title, sizeof (title), buffy); } mutt_newsrc_update (news); - nntp_clear_cacheindex (news); if (i != OP_BROWSER_SUBSCRIBE && i != OP_BROWSER_UNSUBSCRIBE) regfree (rx); p_delete(&rx);