]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1] log/syslog: don't append \n if there is one
authorShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:54:16 +0000 (05:54 +1000)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 21 Sep 2012 19:54:16 +0000 (05:54 +1000)
commit9ff8d11c31422263d8b9bcf2c779985ee3b00fb5
tree07240a4529c33b6232c677181fbdf26ea9821a02
parent6601acb041bc6a2d5b49e0bc06fa5f120a1e19ec
[release-branch.go1] log/syslog: don't append \n if there is one

««« backport 6556a8d85dd6
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