Skip to content

Commit

Permalink
Update pipe.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy-j authored Dec 20, 2018
1 parent e0b5a10 commit 1d9d4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipe.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (rl *PipeRelay) Receive() (data []byte, p Prefix, err error) {
}

if !p.Valid() {
return nil, p, errors.New("invalid prefix (checksum)")
return nil, p, errors.New("invalid data found in the buffer (possible echo)")
}

if !p.HasPayload() {
Expand Down

0 comments on commit 1d9d4cc

Please sign in to comment.