From a06083ecb7e5042e559bc853be4ea420b19a5f5e Mon Sep 17 00:00:00 2001 From: Saxon Date: Wed, 8 May 2019 13:54:56 +0930 Subject: [PATCH] protocol/rtcp/client.go: no newline at the end of error string in parse() --- protocol/rtcp/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/rtcp/client.go b/protocol/rtcp/client.go index b40aaed2..aa1c5906 100644 --- a/protocol/rtcp/client.go +++ b/protocol/rtcp/client.go @@ -231,7 +231,7 @@ func (c *Client) parse(buf []byte) { c.markReceivedTime() t, err := ParseTimestamp(buf) if err != nil { - c.err <- fmt.Errorf("could not get timestamp from sender report, failed with error: %v\n", err) + c.err <- fmt.Errorf("could not get timestamp from sender report, failed with error: %v", err) } c.setSenderTs(t) }