diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-23 14:39:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-23 14:39:56 +0000 |
commit | a3ce52dddfb25bcc66e0ded550b807dcdd977632 (patch) | |
tree | 2b8f1952f09ee1a76fac7b9457314a863aca7151 | |
parent | 2fd3534168337fd96b3ae69c378463142f1aa1b0 (diff) | |
download | fetchmail-a3ce52dddfb25bcc66e0ded550b807dcdd977632.tar.gz fetchmail-a3ce52dddfb25bcc66e0ded550b807dcdd977632.tar.bz2 fetchmail-a3ce52dddfb25bcc66e0ded550b807dcdd977632.zip |
Reset token count on comma.
svn path=/trunk/; revision=366
-rw-r--r-- | driver.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -80,10 +80,11 @@ const char *host; /* server hostname */ state = 5; else if (isspace(*from)) state = 2; + else if (*from == ',') + tokencount = 0; break; case 2: /* found a token boundary -- reset without copying */ - if (*from != ' ' && *from != '\t') { tokencount++; |