]> Cypherpunks repositories - gostls13.git/commit
bytes.Buffer: Fix bug in UnreadByte.
authorRob Pike <r@golang.org>
Fri, 7 Jan 2011 22:41:33 +0000 (14:41 -0800)
committerRob Pike <r@golang.org>
Fri, 7 Jan 2011 22:41:33 +0000 (14:41 -0800)
commit353fd1014c78b3b76fb5233f477677e0333e5f1a
treef710627477b8c1f82e0d56e61d6a78fa82088652
parent9d634e50c7d9a132897805a8604e15ce7db3de7b
bytes.Buffer: Fix bug in UnreadByte.
Error check was inverted.

Fixes #1396.

R=rsc, adg
CC=golang-dev
https://golang.org/cl/3851042
src/pkg/bytes/buffer.go