[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-launcher/master] Bug 32164: Now trimming each received log line from tor
commit dd8147ceed102f93f246e67c91dcc36139451c8b
Author: Richard Pospesel <richard@xxxxxxxxxxxxxx>
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":
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits