[tor-launcher/master] Bug 32164: Now trimming each received log line from tor

22 Oct
2019
22 Oct
'19
6:19 a.m.
commit dd8147ceed102f93f246e67c91dcc36139451c8b Author: Richard Pospesel <richard@torproject.org> Date: Mon Oct 21 14:47:40 2019 -0700 Bug 32164: Now trimming each received log line from tor --- src/components/tl-protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tl-protocol.js b/src/components/tl-protocol.js index a5fd1d9..d6df319 100644 --- a/src/components/tl-protocol.js +++ b/src/components/tl-protocol.js @@ -1487,7 +1487,7 @@ TorProtocolService.prototype = if ((idx > 0)) { let eventType = s.substring(0, idx); - let msg = s.substr(idx + 1); + let msg = s.substr(idx + 1).trim(); switch (eventType) { case "WARN":
2054
Age (days ago)
2054
Last active (days ago)
0 comments
1 participants
participants (1)
-
gk@torproject.org