mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
1827be0bd6
Without this patch, there's no way to know what went wrong when we
fail to parse a torrc line entirely (that is, we can't turn it into
a K,V pair.) This patch introduces a new function that yields an
error message on failure, so we can at least tell the user what to
look for in their nonfunctional torrc.
(Actually, it's the same function as before with a new name:
parse_config_line_from_str is now a wrapper macro that the unit
tests use.)
Fixes bug 7950; fix on 0.2.0.16-alpha (58de695f90
) which first
introduced the possibility of a torrc value not parsing correctly.
5 lines
191 B
Plaintext
5 lines
191 B
Plaintext
o Minor bugfixes:
|
|
- When rejecting a configuration because we were unable to parse a
|
|
quoted string, log an actual error message. Fix for bug 7950;
|
|
bugfix on 0.2.0.16-alpha.
|