mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Add an additional space when we check for the PROTO_LOG handler.
See: https://bugs.torproject.org/28179
This commit is contained in:
parent
fab22509d7
commit
651cdd05b7
@ -909,7 +909,11 @@ handle_proxy_line(const char *line, managed_proxy_t *mp)
|
||||
|
||||
parse_proxy_error(line);
|
||||
goto err;
|
||||
} else if (!strcmpstart(line, PROTO_LOG)) {
|
||||
|
||||
/* We check for the additional " " after the PROTO_LOG string to make sure
|
||||
* we can later extend this big if/else-if table with something that begins
|
||||
* with "LOG" without having to get the order right. */
|
||||
} else if (!strcmpstart(line, PROTO_LOG " ")) {
|
||||
parse_log_line(line, mp);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user