#include <lib-mime/mime.h>
#include <lib-ui/enter.h>
-#include <lib-ui/curses.h>
+#include <lib-ui/lib-ui.h>
#include <lib-mx/mx.h>
#include <imap/imap.h>
{'u', M_SUBSCRIBED_LIST, 0, NULL},
{'v', M_COLLAPSED, 0, NULL},
{'V', M_CRYPT_VERIFIED, 0, NULL},
-#ifdef USE_NNTP
- {'w', M_NEWSGROUPS, 0, eat_regexp},
-#endif
{'x', M_REFERENCE, 0, eat_regexp},
{'X', M_MIMEATTACH, 0, eat_range},
{'y', M_XLABEL, 0, eat_regexp},
default:
return s;
}
- mutt_normalize_time (tm);
- return (ps + 1);
+ mktime(tm);
+ return ps + 1;
}
static void adjust_date_range (struct tm *min, struct tm *max)
/* Since we allow two dates to be specified we'll have to adjust that. */
adjust_date_range (&min, &max);
- pat->min = mutt_mktime (&min, 1);
- pat->max = mutt_mktime (&max, 1);
+ pat->min = mktime(&min);
+ pat->max = mktime(&max);
p_delete(&buffer.data);
&& valid_realname(h->env-> from->personal)
&& h->env->from->mailbox)
)) ^ pat->not;
-#ifdef USE_NNTP
- case M_NEWSGROUPS:
- return (pat->
- not ^ (h->env->newsgroups
- && patmatch (pat, h->env->newsgroups) == 0));
-#endif
}
mutt_error (_("error: unknown op %d (report this error)."), pat->op);
return (-1);