Merge pull request #6865 from jamesbeyond/greentea_fix

fix greentea-client, require a character input between K-V pairs
pull/6336/head
Cruz Monrreal 2018-05-17 10:07:41 -05:00 committed by GitHub
commit 54ac02b080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -728,6 +728,7 @@ static int gettok(char *out_str, const int str_size) {
if (LastChar == '}') {
LastChar = greentea_getc();
if (LastChar == '}') {
LastChar = '!';
return tok_close;
}
}