]> Cypherpunks repositories - gostls13.git/commit
undo CL 9658043 / ac7877558dce
authorRob Pike <r@golang.org>
Wed, 22 May 2013 18:42:04 +0000 (11:42 -0700)
committerRob Pike <r@golang.org>
Wed, 22 May 2013 18:42:04 +0000 (11:42 -0700)
commitf6c7b339a6b7592aa83abe253a40825fcb7d3e39
tree25b347bae4b1b7f30a9d6880b8a5700f7efa2c13
parentc075d82ccac5eb6fca481efccc798acac00f7dae
undo CL 9658043 / ac7877558dce

The original code was correct. The count returned must be the length
of the input slice, not the length of the formatted message.

««« original CL description
log/syslog: report errors from Fprintf
Thanks to chiparus for identifying this.

Fixes #5541.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/9658043
»»»

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/9644044
src/pkg/log/syslog/syslog.go