Added frame for tile mapper. Not working, yet.

This commit is contained in:
Sascha L. Teichmann 2014-09-07 19:59:29 +02:00
parent 4bd6a7d69b
commit 6b717e41fb
2 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func (rp *RedisParser) bulkString(line []byte) bool {
return rp.consumer.ConsumeError( return rp.consumer.ConsumeError(
fmt.Errorf("Bulk string too large (%d bytes).\n", i)) fmt.Errorf("Bulk string too large (%d bytes).\n", i))
} }
data := make([]byte, i, i) data := make([]byte, i)
for rest := i; rest > 0; { for rest := i; rest > 0; {
var n int var n int
if n, err = rp.reader.Read(data[i-rest : i]); err != nil { if n, err = rp.reader.Read(data[i-rest : i]); err != nil {

BIN
tilemapper/tilemapper Executable file

Binary file not shown.