protocol/rtcp/client.go: no newline at the end of error string in parse()

This commit is contained in:
Saxon 2019-05-08 13:54:56 +09:30
parent f5d38b1bfc
commit a06083ecb7
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}