This commit is contained in:
Kelvin Sherlock 2019-04-14 18:32:26 -04:00
parent c22c517214
commit b561811394

View File

@ -592,7 +592,7 @@ static const char *parse_operand(const char *cp, struct cookie *cookie) {
cp = parse_tail(cp, cookie); cp = parse_tail(cp, cookie);
break; break;
} }
if (!cp) return NULL;
if (*cp && !isspace(*cp)) return NULL; if (*cp && !isspace(*cp)) return NULL;
return ltrim(cp); return ltrim(cp);
} }