/[imapfilter]/imapfilter/imapfilter.c
ViewVC logotype

Diff of /imapfilter/imapfilter.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by lefcha, Sun Aug 12 16:06:45 2001 UTC revision 1.4 by lefcha, Mon Aug 20 21:40:57 2001 UTC
# Line 24  int main(int argc, char **argv) Line 24  int main(int argc, char **argv)
24      int c;      int c;
25    
26      options = OPTION_DETAILS_NORMAL;      options = OPTION_DETAILS_NORMAL;
27      account.logfile[0] = 0;  
28        prepare_account();
29    
30      while ((c = getopt(argc, argv, "c:hl:qstv")) != -1) {      while ((c = getopt(argc, argv, "c:hl:qstv")) != -1) {
31          switch (c) {          switch (c) {
# Line 96  void apply_filters(void) Line 97  void apply_filters(void)
97  {  {
98      char results[SEARCH_RESULTS_MAX];      char results[SEARCH_RESULTS_MAX];
99    
100      imap_search();      if (!imap_search(results) && results[0]) {
   
     if (!search_response(results)) {  
101          delete_messages(results);          delete_messages(results);
102          if (!(options & OPTION_TEST_MODE))          if (!(options & OPTION_TEST_MODE))
103              imap_expunge();              imap_expunge();

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26