aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 1761275c..afdaf860 100644
--- a/driver.c
+++ b/driver.c
@@ -290,8 +290,10 @@ char *parse_received(struct query *ctl, char *bufp)
char *sp, *tp;
/* extract space-delimited token after "by " */
+ for (sp = ok + 3; isspace(*sp); sp++)
+ continue;
tp = rbuf;
- for (sp = ok + 3; !isspace(*sp); sp++)
+ for (; !isspace(*sp); sp++)
*tp++ = *sp;
*tp = '\0';