From a3ce52dddfb25bcc66e0ded550b807dcdd977632 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 23 Oct 1996 14:39:56 +0000 Subject: Reset token count on comma. svn path=/trunk/; revision=366 --- driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driver.c b/driver.c index ff558f2b..c6fe1fc1 100644 --- a/driver.c +++ b/driver.c @@ -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++; -- cgit v1.2.3