/[libspopc]/parsing.c
ViewVC logotype

Diff of /parsing.c

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

revision 2 by ben, Thu Oct 8 15:37:49 2009 UTC revision 6 by ben, Sun Apr 18 11:05:58 2010 UTC
# Line 42  int dotline(char* buf){ Line 42  int dotline(char* buf){
42          return(0);          return(0);
43  }  }
44    
45  int pop3_error(char* string){  DLLIMPORT int pop3_error(char* string){
46  /* returns 1 if string is a pop server error reply (i.e : -ERR ...) or NULL, 0 else */  /* returns 1 if string is a pop server error reply (i.e : -ERR ...) or NULL, 0 else */
47          return(string?(!strncmp(string,"-ERR",(size_t)4)):1);          return(string?(!strncmp(string,"-ERR",(size_t)4)):1);
48  }  }

Legend:
Removed from v.2  
changed lines
  Added in v.6

  ViewVC Help
Powered by ViewVC 1.1.26