From c8302882c87afffeb7d9241060e24984a04cb8eb Mon Sep 17 00:00:00 2001
From: obscuren <geffobscura@gmail.com>
Date: Mon, 3 Nov 2014 23:45:32 +0100
Subject: method change

---
 compression/rle/read_write.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'compression')

diff --git a/compression/rle/read_write.go b/compression/rle/read_write.go
index a5b80222c..dde0e41ab 100644
--- a/compression/rle/read_write.go
+++ b/compression/rle/read_write.go
@@ -45,7 +45,7 @@ func Decompress(dat []byte) ([]byte, error) {
 	return buf.Bytes(), nil
 }
 
-func compressBlock(dat []byte) (ret []byte, n int) {
+func compressChunk(dat []byte) (ret []byte, n int) {
 	switch {
 	case dat[0] == token:
 		return []byte{token, tokenToken}, 1
@@ -75,7 +75,7 @@ func Compress(dat []byte) []byte {
 
 	i := 0
 	for i < len(dat) {
-		b, n := compressBlock(dat[i:])
+		b, n := compressChunk(dat[i:])
 		buf.Write(b)
 		i += n
 	}
-- 
cgit v1.2.3