/[svn]/ircd-hybrid-7.2/src/csvlib.c
ViewVC logotype

Diff of /ircd-hybrid-7.2/src/csvlib.c

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

revision 520 by lusky, Sun Oct 2 21:05:51 2005 UTC revision 521 by db, Sat Mar 11 21:37:16 2006 UTC
# Line 522  getfield(char *newline) Line 522  getfield(char *newline)
522    
523    field = line;    field = line;
524    
525    while (*field != '"') /* skip everything that's not a starting quote */    /* skip everything that's not a starting quote */
526      for(;;)
527      {
528        if (*field == '\0')
529          return(NULL);
530        else if (*field == '"')
531          break;
532      ++field;      ++field;
533      }
534    
535    /* skip over the beginning " */    /* skip over the beginning " */
536    end = ++field;    end = ++field;

Legend:
Removed from v.520  
changed lines
  Added in v.521

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26