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

Diff of /imapfilter/action.c

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

revision 1.2.2.5 by lefcha, Tue Jan 20 01:49:44 2004 UTC revision 1.2.2.6 by lefcha, Fri Feb 6 01:09:49 2004 UTC
# Line 597  message_date(char *mesg, char *destmbox) Line 597  message_date(char *mesg, char *destmbox)
597    
598          while (fetch_response(&connpri, t, 0, dbuf) == RESPONSE_NONE);          while (fetch_response(&connpri, t, 0, dbuf) == RESPONSE_NONE);
599    
600          if (strptime(dbuf, "Date: %a, %d %b %Y %H:%M:%S", &tl) &&          if (((strptime(dbuf, "Date: %a, %d %b %Y %H:%M:%S", &tl) ||
601              strftime(s, MBOX_NAME_LEN - 1, destmbox, &tl))                      strptime(dbuf, "Date: %d %b %Y %H:%M:%S", &tl)) &&
602                    strftime(s, MBOX_NAME_LEN - 1, destmbox, &tl)))
603                  xstrncpy(destmbox, s, MBOX_NAME_LEN - 1);                  xstrncpy(destmbox, s, MBOX_NAME_LEN - 1);
604  }  }
605    

Legend:
Removed from v.1.2.2.5  
changed lines
  Added in v.1.2.2.6

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26