mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
backport patch from pre3:
fix a bug in parsing opt keywords with objects svn:r2475
This commit is contained in:
@@ -1147,7 +1147,7 @@ get_next_token(const char **s, where_syntax where) {
|
||||
tok->args[0] = tor_strndup(*s,next-*s);
|
||||
tok->n_args = 1;
|
||||
*s = eat_whitespace_no_nl(next+1);
|
||||
a_syn = OBJ_OK;
|
||||
o_syn = OBJ_OK;
|
||||
} else {
|
||||
tok->tp = _UNRECOGNIZED;
|
||||
next = strchr(*s, '\n');
|
||||
|
||||
Reference in New Issue
Block a user