diff options
Diffstat (limited to 'libgo/go/gob/decoder.go')
-rw-r--r-- | libgo/go/gob/decoder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/gob/decoder.go b/libgo/go/gob/decoder.go index 5efcea8..1d526e3 100644 --- a/libgo/go/gob/decoder.go +++ b/libgo/go/gob/decoder.go @@ -64,7 +64,7 @@ func (dec *Decoder) recvType(id typeId) { dec.wireType[id] = wire } -var errBadCount = gobError{os.NewError("invalid message length")} +var errBadCount = os.NewError("invalid message length") // recvMessage reads the next count-delimited item from the input. It is the converse // of Encoder.writeMessage. It returns false on EOF or other error reading the message. |