]> Cypherpunks repositories - gostls13.git/commit
log/syslog: don't append \n if there is one
authorShenghou Ma <minux.ma@gmail.com>
Fri, 27 Jul 2012 18:22:27 +0000 (14:22 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 27 Jul 2012 18:22:27 +0000 (14:22 -0400)
commit88e858ac80e4adaa9e37db4268f49091d739dd55
tree367f61b2d42bedf202b34ca72fca08425ab8744e
parent9c8ae6ca34640eb835eda8afc268815c6fbde039
log/syslog: don't append \n if there is one
   pkg log already appends a linefeed to the log message,
so log/syslog doesn't need to append another.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/6441048
src/pkg/log/syslog/syslog.go
src/pkg/log/syslog/syslog_test.go