projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deep rework of nntp_data_t (ex-NNTP_DATA) to make it list-able.
[apps/madmutt.git]
/
lib-ui
/
curs_main.c
diff --git
a/lib-ui/curs_main.c
b/lib-ui/curs_main.c
index
6648b1a
..
e32a25b
100644
(file)
--- a/
lib-ui/curs_main.c
+++ b/
lib-ui/curs_main.c
@@
-32,7
+32,7
@@
#include <imap/imap_private.h>
#ifdef USE_NNTP
#include <imap/imap_private.h>
#ifdef USE_NNTP
-#include
<nntp/nntp.h>
+#include
"nntp.h"
#endif
static const char *No_mailbox_is_open = N_("No mailbox is open.");
#endif
static const char *No_mailbox_is_open = N_("No mailbox is open.");
@@
-1929,7
+1929,7
@@
int mutt_index_menu (void)
case OP_CATCHUP:
if (Context && Context->magic == M_NNTP) {
if (mutt_newsgroup_catchup (CurrentNewsSrv,
case OP_CATCHUP:
if (Context && Context->magic == M_NNTP) {
if (mutt_newsgroup_catchup (CurrentNewsSrv,
- ((
NNTP_DATA
*) Context->data)->group))
+ ((
nntp_data_t
*) Context->data)->group))
menu->redraw = REDRAW_INDEX | REDRAW_STATUS;
}
break;
menu->redraw = REDRAW_INDEX | REDRAW_STATUS;
}
break;
@@
-2114,7
+2114,7
@@
int mutt_index_menu (void)
_("Reply by mail as poster prefers?")) !=
M_YES) {
if (Context && Context->magic == M_NNTP
_("Reply by mail as poster prefers?")) !=
M_YES) {
if (Context && Context->magic == M_NNTP
- && !((
NNTP_DATA
*) Context->data)->allowed
+ && !((
nntp_data_t
*) Context->data)->allowed
&& query_quadoption (OPT_TOMODERATED,
_
("Posting to this group not allowed, may be moderated. Continue?"))
&& query_quadoption (OPT_TOMODERATED,
_
("Posting to this group not allowed, may be moderated. Continue?"))