diff --git a/parser.go b/parser.go index 99be5ec..e54afa3 100644 --- a/parser.go +++ b/parser.go @@ -96,7 +96,7 @@ func (rp *RedisParser) bulkString(line []byte) bool { return rp.consumer.ConsumeError( fmt.Errorf("Bulk string too large (%d bytes).\n", i)) } - data := make([]byte, i, i) + data := make([]byte, i) for rest := i; rest > 0; { var n int if n, err = rp.reader.Read(data[i-rest : i]); err != nil { diff --git a/tilemapper/tilemapper b/tilemapper/tilemapper new file mode 100755 index 0000000..4545440 Binary files /dev/null and b/tilemapper/tilemapper differ