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

Diff of /imapfilter/response.c

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

revision 1.41 by lefcha, Sun Aug 3 16:01:53 2003 UTC revision 1.41.2.3 by lefcha, Thu Oct 2 11:04:12 2003 UTC
# Line 1  Line 1 
1  #include <stdio.h>  #include <stdio.h>
2  #include <stdlib.h>  #include <stdlib.h>
3  #include <string.h>  #include <string.h>
4    #include <strings.h>
5  #include <ctype.h>  #include <ctype.h>
6  #include <sys/types.h>  #include <sys/types.h>          /* IEEE Std 1003.1-2001 non-conformance. */
7  #include <regex.h>  #include <regex.h>
8  #include <setjmp.h>  #include <setjmp.h>
9    
# Line 447  analyze_response(conn_t * conn, char *bu Line 448  analyze_response(conn_t * conn, char *bu
448          char result[RESULT_BUF];          char result[RESULT_BUF];
449    
450          r = RESPONSE_OK;          r = RESPONSE_OK;
451          reg = "[[:xdigit:]]{8,8} ((OK|NO|BAD)[[:print:]]*)\r\n";          reg = "[[:xdigit:]]{4,4} ((OK|NO|BAD)[[:print:]]*)\r\n";
452          result[0] = '\0';          result[0] = '\0';
453    
454          regcomp(&creg, reg, REG_EXTENDED | REG_ICASE);          regcomp(&creg, reg, REG_EXTENDED | REG_ICASE);

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.41.2.3

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26