aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c3
1 files changed, 2 insertions, 1 deletions
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++;