X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=postpone.c;h=16d358495f845f797ca17bfeff78f19f78c1fa11;hp=4cabf1dea4114a0a165458d08f3ae8c102b3f9a1;hb=68fabfdd78a08d3896ef25fe99e76c32beb56761;hpb=5fbd8a74d24624a118c9b835b136c73b8da076d7 diff --git a/postpone.c b/postpone.c index 4cabf1d..16d3584 100644 --- a/postpone.c +++ b/postpone.c @@ -12,9 +12,8 @@ #include -#include +#include #include -#include #include #include @@ -90,26 +89,15 @@ int mutt_num_postponed (int force) } if (LastModify < st.st_mtime) { -#ifdef USE_NNTP - int optnews = option (OPTNEWS); -#endif LastModify = st.st_mtime; if (access (Postponed, R_OK | F_OK) != 0) return (PostCount = 0); -#ifdef USE_NNTP - if (optnews) - unset_option (OPTNEWS); -#endif if (mx_open_mailbox (Postponed, M_NOSORT | M_QUIET, &ctx) == NULL) PostCount = 0; else PostCount = ctx.msgcount; mx_fastclose_mailbox (&ctx); -#ifdef USE_NNTP - if (optnews) - set_option (OPTNEWS); -#endif } return (PostCount);