X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=postpone.c;fp=postpone.c;h=44cbdb2dfb03a90d6c8afbc47681ace84b149f11;hb=cfd5f411041c7ef44087b032751792fadc74586d;hp=06b5929e21e5eaeedbf66c4291265023cca000dd;hpb=4b2f5f58e6b8e65e8524596d16752f7f1e5d58ca;p=apps%2Fmadmutt.git diff --git a/postpone.c b/postpone.c index 06b5929..44cbdb2 100644 --- a/postpone.c +++ b/postpone.c @@ -90,26 +90,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);